Quellcode durchsuchen

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

master
Satoshi KOJIMA vor 6 Jahren
committed by Eugen Rochko
Ursprung
Commit
e54cc15cbd
3 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +0
    -1
      .gitignore
  2. +1
    -1
      config/webpack/production.js
  3. +1
    -0
      public/sw.js

+ 0
- 1
.gitignore Datei anzeigen

@@ -21,7 +21,6 @@ public/system
public/assets
public/packs
public/packs-test
public/sw.js
.env
.env.production
node_modules/


+ 1
- 1
config/webpack/production.js Datei anzeigen

@@ -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,
},


+ 1
- 0
public/sw.js Datei anzeigen

@@ -0,0 +1 @@
assets/sw.js

Laden…
Abbrechen
Speichern