Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

ionic-pwa starter option does not produce a service worker file. #122

Open
mtsebastian opened this issue Apr 16, 2020 · 0 comments
Open
Labels

Comments

@mtsebastian
Copy link

Stencil version:

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:

@ionitron-bot ionitron-bot bot added the triage label Apr 16, 2020
@rwaskiewicz rwaskiewicz transferred this issue from ionic-team/stencil Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant