Library Affected:
workbox-cache-expiration
Browser & Platform:
All browsers
Issue or Feature Request Description:
Hi,
I'm trying to use the new purgeOnQuotaError option but I'm getting the following console error:

Looking at the PR of the change seems that the import is done from the workbox-core/_private/quota.mjs file directly, but while debugging the method seems that the iife ran passing the code workbox-core/_private.mjs, as you can see the quota_mjs object having the registerQuotaErrorCallback function but not the other one. I'm not familiar with the compilation process, so I don't really know where that module comes from or if I'm doing something wrong myself.
I'm using workbox 3.3.0 and generating the SW file with the generateSW entry point. Thank you!
Sorry鈥攖his is fixed by #1552, and should make it into an upcoming v3.3.1 release.
@jeffposnick I'm getting Uncaught TypeError: quota_mjs.registerQuotaErrorCallback is not a function when trying to use purgeOnQuotaError on 3.5.0. Can it be related to this issue?
@salmoro #metoo
I've created #1642 to track this.