Skip to content
This repository was 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

@SMen1

Description

@SMen1

swDest does not work for me as an option in quasar-cli@0.17.22 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions