new-webpack-4-vscode
Changes
static/index.html 0(+0 -0)
static/manifest.json 0(+0 -0)
static/Web.config 0(+0 -0)
webpack.dev.js 2(+1 -1)
webpack.prod.js 2(+1 -1)
Details
webpack.dev.js 2(+1 -1)
diff --git a/webpack.dev.js b/webpack.dev.js
index 8e425a0..28238d0 100644
--- a/webpack.dev.js
+++ b/webpack.dev.js
@@ -23,7 +23,7 @@ module.exports = merge(common, {
{
patterns: [
{
- from: path.resolve(__dirname, 'index.html'),
+ from: path.resolve(__dirname, 'static'),
to: path.resolve(__dirname, devFolderName, '[name][ext]')
}
]
webpack.prod.js 2(+1 -1)
diff --git a/webpack.prod.js b/webpack.prod.js
index dc5a671..50f3f3a 100644
--- a/webpack.prod.js
+++ b/webpack.prod.js
@@ -33,7 +33,7 @@ module.exports = merge(common, {
{
patterns: [
{
- from: path.resolve(__dirname, 'index.html'),
+ from: path.resolve(__dirname, 'static'),
to: path.resolve(__dirname, prodFolderName, '[name][ext]')
}
]