aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-12-16 18:33:23 +0000
committerGravatar GitHub <[email protected]>2020-12-16 18:33:23 +0000
commitebb997d0577ca0dfb09e80e0184b44cc407d43f1 (patch)
tree761ecd4f2c9f5b341cc4212ee4bc9d75c6b35c76 /webpack.config.js
parentReplace broken webpack mode config with NODE_ENV (diff)
Update webpack.config.js
Co-authored-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index b61043b..ac150e1 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -5,7 +5,7 @@ const webpack = require("webpack")
module.exports = {
entry: "./src/index.tsx",
- mode: process.env.NODE_ENV ? process.env.NODE_ENV : "none",
+ mode: process.env.NODE_ENV,
output: {
path: path.resolve(__dirname, "build"),
filename: "[name].[contenthash].bundle.js",
@@ -89,4 +89,4 @@ module.exports = {
inject: true,
template: 'public/index.html'
})]
-} \ No newline at end of file
+}