Silence webpack warning by setting mode to production

codeql
Lorenz Hübschle-Schneider 4 years ago
parent abedfd7782
commit 884bf1067d
  1. 1
      webpack.config.js

@ -9,6 +9,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
module.exports = { module.exports = {
context: path.resolve(__dirname, 'src'), context: path.resolve(__dirname, 'src'),
entry: './main.js', entry: './main.js',
mode: 'production',
output: { output: {
path: path.resolve(__dirname, 'build'), path: path.resolve(__dirname, 'build'),
}, },

Loading…
Cancel
Save