Silence webpack warning by setting mode to production

This commit is contained in:
Lorenz Hübschle-Schneider 2021-03-07 18:52:40 +01:00
parent abedfd7782
commit 884bf1067d

View File

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