Skip to content

feature request: add service-worker support #647

Closed
@alexey2baranov

Description

@alexey2baranov

Hello!
it would be very helpfully if your template have another one ask when initiated "Service worker support (Y/n)?"

And if I set "Yes" some steps should be performed:

  1. add serviceworker-webpack-plugin to package.json dependency
  2. /test/unit/index.js should exclude src/sw.js
  3. karma.conf.js should configure to allow register sw.js from test

is it possible ? thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions