mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
parent
2654f3be82
commit
e54cc15cbd
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,7 +21,6 @@ public/system
|
|||||||
public/assets
|
public/assets
|
||||||
public/packs
|
public/packs
|
||||||
public/packs-test
|
public/packs-test
|
||||||
public/sw.js
|
|
||||||
.env
|
.env
|
||||||
.env.production
|
.env.production
|
||||||
node_modules/
|
node_modules/
|
||||||
|
@ -48,7 +48,7 @@ module.exports = merge(sharedConfig, {
|
|||||||
ServiceWorker: {
|
ServiceWorker: {
|
||||||
entry: path.join(__dirname, '../../app/javascript/mastodon/service_worker/entry.js'),
|
entry: path.join(__dirname, '../../app/javascript/mastodon/service_worker/entry.js'),
|
||||||
cacheName: 'mastodon',
|
cacheName: 'mastodon',
|
||||||
output: '../sw.js',
|
output: '../assets/sw.js',
|
||||||
publicPath: '/sw.js',
|
publicPath: '/sw.js',
|
||||||
minify: true,
|
minify: true,
|
||||||
},
|
},
|
||||||
|
1
public/sw.js
Symbolic link
1
public/sw.js
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
assets/sw.js
|
Loading…
Reference in New Issue
Block a user