ionic-pwa-toolkit
ionic-pwa-toolkit copied to clipboard
ionic-pwa starter option does not produce a service worker file.
Stencil version:
@stencil/[email protected]
I'm submitting a:
[X] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
The ionic-pwa starter does not automatically generate a server worker js file. Also the serviceWorker parameter in stencil.config.ts is set to null by default.
Expected behavior:
A sw.js would be generated automatically in the www dir. And the serviceWorker parameter should have some value.
Steps to reproduce:
npm init stencil (choose ionic-pwa option) cd into app dir npm run build find . -name sw.js (returns nothing)
Related code:
// insert any relevant code here
Other information: