Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

workboxOptions swDest defaults to service-worker.js even if custom specified in options #213

Open
SMen1 opened this issue Dec 18, 2018 · 0 comments

Comments

@SMen1
Copy link

SMen1 commented Dec 18, 2018

swDest does not work for me as an option in [email protected] and Quasar v0.17.8.

pwa: {
workboxPluginMode: 'InjectManifest',
workboxOptions: {
swDest: 'service-worker-newfilename.js'
},

My expectation is that all the options listed in the workbox-webpack-plugin guide would be configurable in the workboxOptions in quasar.conf.js. I can see from other posts here that exclude works in workboxOptions, and I am presuming swDest would be used for subfolders which was another issue.

However, whatever option I specify for swDest defaults to service-worker.js on build - apologies if I have made a simple error.

Software version

OS: Windows 10
Node: v10.13.0
NPM: 6.4.1
Yarn: 1.12.3
Any other software related to your bug:

What did you get as the error?

What were you expecting?

What steps did you take, to get the error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant