From 46fc6a9faf11e0e4dcdb317974c8768abc4f50f6 Mon Sep 17 00:00:00 2001 From: Daniel Duan Date: Wed, 23 Aug 2017 14:04:22 -0400 Subject: [PATCH] load webpack environment in dev --- app/react/src/server/config/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/src/server/config/webpack.config.prod.js b/app/react/src/server/config/webpack.config.prod.js index 989b1adca7ad..e3f1a61bf433 100644 --- a/app/react/src/server/config/webpack.config.prod.js +++ b/app/react/src/server/config/webpack.config.prod.js @@ -23,7 +23,7 @@ export default function() { publicPath: '', }, plugins: [ - new webpack.DefinePlugin(loadEnv({ production: true })), + new webpack.DefinePlugin(loadEnv()), // load development env so PropTypes are left alone for the Info Addon new webpack.optimize.UglifyJsPlugin({ compress: { screw_ie8: true,