From ddb953da0ca4dbbc5763e284f5cc7f974589434f Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Tue, 11 Oct 2016 18:59:05 +0800 Subject: [PATCH] Fix webpack production config --- webpack.production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.production.js b/webpack.production.js index 1c54ae38..c954bd43 100644 --- a/webpack.production.js +++ b/webpack.production.js @@ -21,7 +21,7 @@ module.exports = Object.assign({}, baseConfig, { async: true, filename: '[name].js', minChunks: Infinity - }) + }), new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production')