about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorSatoshi KOJIMA <skoji@mac.com>2017-07-28 08:55:52 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-28 01:55:52 +0200
commite54cc15cbd0b21c32acfa223e57f24667b158f48 (patch)
treedb72a9adfce6dc0d284104d627195d9712e5540d /config/webpack
parent2654f3be82c518693c41b73fe68d693a345dbe67 (diff)
fix #4356 : place sw.js to assets/sw.js (#4357)
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/production.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js
index 4592db89e..64bdee47d 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -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,
       },