From f7fa60ea15cee062101f265ddb13510bdc9515df Mon Sep 17 00:00:00 2001 From: David Meincke Date: Mon, 21 Mar 2022 10:49:51 +0100 Subject: [PATCH] move static files to static folder --- Web.config => static/Web.config | 0 index.html => static/index.html | 0 manifest.json => static/manifest.json | 0 webpack.dev.js | 2 +- webpack.prod.js | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename Web.config => static/Web.config (100%) rename index.html => static/index.html (100%) rename manifest.json => static/manifest.json (100%) diff --git a/Web.config b/static/Web.config similarity index 100% rename from Web.config rename to static/Web.config diff --git a/index.html b/static/index.html similarity index 100% rename from index.html rename to static/index.html diff --git a/manifest.json b/static/manifest.json similarity index 100% rename from manifest.json rename to static/manifest.json 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]') } ] 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]') } ]