Skip to content
Snippets Groups Projects
Commit e54cc15c authored by Satoshi KOJIMA's avatar Satoshi KOJIMA Committed by Eugen Rochko
Browse files

fix #4356 : place sw.js to assets/sw.js (#4357)

parent 2654f3be
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ public/system
public/assets
public/packs
public/packs-test
public/sw.js
.env
.env.production
node_modules/
......
......@@ -48,7 +48,7 @@ module.exports = merge(sharedConfig, {
ServiceWorker: {
entry: path.join(__dirname, '../../app/javascript/mastodon/service_worker/entry.js'),
cacheName: 'mastodon',
output: '../sw.js',
output: '../assets/sw.js',
publicPath: '/sw.js',
minify: true,
},
......
assets/sw.js
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment