diff options
author | Yukai Huang | 2016-10-11 18:59:05 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-11 18:59:05 +0800 |
commit | ddb953da0ca4dbbc5763e284f5cc7f974589434f (patch) | |
tree | 21cf4bccfda8f43340f30e5ff4e9bd99404701c8 | |
parent | 6e651c8108783d224c5f40d1bb8047a9ebbeff00 (diff) |
Fix webpack production config
-rw-r--r-- | webpack.production.js | 2 |
1 files changed, 1 insertions, 1 deletions
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') |