Skip to content
#

workbox

Here are 196 public repositories matching this topic...

nathanredblur
nathanredblur commented Dec 24, 2019

if you modify the swDest option to generate the serviceworker in other path, this not affect the path to generate the development service-worker.

I need to see the code to fix this, but would be nice to have this in the documentation.
this is the fix to generate serviceworker in development in the right path.

  dontAutoRegisterSw: true,
  devSwSrc: {
    from: './public/sw-dev.js'

Improve this page

Add a description, image, and links to the workbox topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the workbox topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.