diff options
author | 2021-02-06 23:10:35 +0000 | |
---|---|---|
committer | 2021-02-06 23:10:35 +0000 | |
commit | 34f40b3e401f4f2a9723d936ca8864f332d131af (patch) | |
tree | fd460e08b0cb1d204fc3c002d0212a29496b3d49 /webpack.config.js | |
parent | Merge pull request #125 from python-discord/dependabot/npm_and_yarn/webpack-5... (diff) | |
parent | Exclude 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.js | 7 |
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", |