You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
I'm working with React app where all the bundled files going to a build folder but I want to be able to set the service worker file to the root public folder.
I can specify filename: '../service-worker.js', but when using webpack dev server, this breaks.
Would it be possible to add something like path: path.join(__dirname, 'public') to the config?
Thanks (and great work with the plugin, it's saved my so many headaches!)
The text was updated successfully, but these errors were encountered:
I'm working with React app where all the bundled files going to a build folder but I want to be able to set the service worker file to the root public folder.
I can specify
filename: '../service-worker.js'
, but when using webpack dev server, this breaks.Would it be possible to add something like
path: path.join(__dirname, 'public')
to the config?Thanks (and great work with the plugin, it's saved my so many headaches!)
The text was updated successfully, but these errors were encountered: