Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.
This repository was 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

Description

@mtsebastian

Stencil version:

 @stencil/core@1.12.2

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions