From 02a23d99b9d29e41a623bec8f63a6f6727a65337 Mon Sep 17 00:00:00 2001 From: mldangelo Date: Sun, 19 Mar 2017 02:01:47 -0700 Subject: [PATCH] removed DefinePlugin because it wasn't working --- webpack/webpack.config.js | 3 --- webpack/webpack.production.config.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 3540d48c9d..2505cd7878 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -22,9 +22,6 @@ export default { }), new webpack.HotModuleReplacementPlugin(), new webpack.NoEmitOnErrorsPlugin(), - new webpack.DefinePlugin({ - 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'), - }), ], module: { loaders: [ diff --git a/webpack/webpack.production.config.js b/webpack/webpack.production.config.js index 259b68df91..f157d58d3d 100644 --- a/webpack/webpack.production.config.js +++ b/webpack/webpack.production.config.js @@ -38,9 +38,6 @@ export default { source: false, modules: false, }), - new webpack.DefinePlugin({ - 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'), - }), new webpack.ContextReplacementPlugin(/moment[/\\]locale$/, /en/), ], module: {