Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix mastodon#4356 : place sw.js to assets/sw.js (mastodon#4357)
Browse files Browse the repository at this point in the history
  • Loading branch information
skoji authored and Gargron committed Jul 27, 2017
1 parent 2654f3b commit e54cc15
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public/system
public/assets
public/packs
public/packs-test
public/sw.js
.env
.env.production
node_modules/
Expand Down
2 changes: 1 addition & 1 deletion config/webpack/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 1 addition & 0 deletions public/sw.js

0 comments on commit e54cc15

Please sign in to comment.