additional webpack4 migration steps: add mode to webpack config; add webpack-cli to package.json

This commit is contained in:
bkmartinjr
2018-08-13 17:07:01 -07:00
parent 985cc0de94
commit 563b1c34c9
3 changed files with 3 additions and 0 deletions
@@ -15,6 +15,7 @@ const nodeModules = path.resolve("node_modules");
const publicPath = "/";
module.exports = {
mode: "production",
bail: true,
devtool: "cheap-source-map",
entry: [require.resolve("../polyfills/polyfills"), path.join(src, "index")],