Fix service worker generation

This commit is contained in:
syuilo 2020-12-26 14:11:08 +09:00
parent 4576641105
commit ec4d5857d8
5 changed files with 95 additions and 98 deletions

View file

@ -38,7 +38,7 @@ module.exports = Object.keys(isProduction ? locales : {
}).map(lang => ({
entry: {
app: './src/client/init.ts',
sw: './src/client/sw.ts'
sw: './src/client/sw/sw.ts'
},
module: {
rules: [{