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

Open
@mtsebastian

Description

@mtsebastian

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:

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