mirror of https://github.com/Siphonay/mastodon
parent
2654f3be82
commit
e54cc15cbd
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
assets/sw.js
|
Loading…
Reference in New Issue