aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-02-06 23:10:35 +0000
committerGravatar GitHub <[email protected]>2021-02-06 23:10:35 +0000
commit34f40b3e401f4f2a9723d936ca8864f332d131af (patch)
treefd460e08b0cb1d204fc3c002d0212a29496b3d49 /webpack.config.js
parentMerge pull request #125 from python-discord/dependabot/npm_and_yarn/webpack-5... (diff)
parentExclude index.html from copy-webpack-plugin (diff)
Merge pull request #123 from python-discord/dependabot/npm_and_yarn/html-webpack-plugin-5.0.0
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index e24c8f1..9d6e73c 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -79,7 +79,12 @@ module.exports = {
new CopyPlugin({
patterns: [{
from: 'public',
- to: '.'
+ to: '.',
+ globOptions: {
+ ignore: [
+ '**/index.html'
+ ]
+ }
}, ],
}), new webpack.EnvironmentPlugin({
NODE_ENV: "production",