pwa plugin: allow to define cacheId to prevent 'not allowed error' #891
Labels
contribution welcome
feature request
intend to implement
The team has the intention to implement this feature at some point. Contribution is also welcome.
What problem does this feature solve?
I'm having trouble with the pwa plugin for 3.0. I want to use
InjectManifest
, but building the project doesn't work becausecacheId
is not allowed for workbox 3 inInjectManifest
Mode. ButcacheId
is always set bycli-plugin-pwa/index.js
, no matter which mode is set.Error message:
ERROR ValidationError: "cacheId" is not a supported parameter.
What does the proposed API look like?
Allow setting
CacheId
invue.config.js
and also add the possibilty to use null as value, which causescli-plugin-pwa/index.js
to remove the attribute, to prevent this error.The text was updated successfully, but these errors were encountered: