Open
Description
What problem does this feature solve?
Workbox will only add debugging when the NodeEnv is development (see GoogleChrome/workbox#1619 (comment)), but the cli-plugin-pwa does not give us a way to run the injected version of the pwa in a way that we can get debugging info because it only injects the manifest when NodeEnv is production (see https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-pwa/index.js).
It would be helpful to support the following use cases:
- Development mode with no manifest injection
- Development mode (new "pwalocalserve") with manifest injection and debugging
- Production mode manifest injection with no debugging.
Can we get a "pwalocalserve" that builds the PWA with the injected manifest and debugging so we can troubleshoot issues with custom service worker code?
What does the proposed API look like?
pwa-build": "vue-cli-service build --mode pwalocalserve",
Metadata
Metadata
Assignees
Labels
No labels