diff --git a/_scripts/webpack.web.config.js b/_scripts/webpack.web.config.js index b7d10ca0..d66f4f7a 100644 --- a/_scripts/webpack.web.config.js +++ b/_scripts/webpack.web.config.js @@ -146,13 +146,17 @@ if (isDevMode) { config.plugins.push( new CopyWebpackPlugin([ { - from: path.join(__dirname, '../static'), - to: path.join(__dirname, '../dist/web/static'), - ignore: ['.*'], + from: path.join(__dirname, '../static/pwabuilder-sw.js'), + to: path.join(__dirname, '../dist/web/pwabuilder-sw.js'), }, { - from: path.join(__dirname, '../__icons'), - to: path.join(__dirname, '../dist/web/icons'), + from: path.join(__dirname, '../static'), + to: path.join(__dirname, '../dist/web/static'), + ignore: ['.*', 'pwabuilder-sw.js'], + }, + { + from: path.join(__dirname, '../_icons'), + to: path.join(__dirname, '../dist/web/_icons'), ignore: ['.*'], }, ]), diff --git a/src/index.ejs b/src/index.ejs index 3b9c321a..ac6ae92d 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -5,6 +5,7 @@ +