Skip to content

Commit ea5ad90

Browse files
authored
Change SW destination to static folder (#49)
1 parent a9ded05 commit ea5ad90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/withServiceWorker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = function withServiceWorker(config, bootstrapPath) {
1010
...config,
1111
generateInDevMode,
1212
workboxOpts: {
13+
swDest: 'static/service-worker.js',
1314
clientsClaim: true,
1415
skipWaiting: true,
1516
importScripts: [

0 commit comments

Comments
 (0)