Fix webpack production config

This commit is contained in:
Yukai Huang 2016-10-11 18:59:05 +08:00
parent 6e651c8108
commit ddb953da0c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = Object.assign({}, baseConfig, {
async: true, async: true,
filename: '[name].js', filename: '[name].js',
minChunks: Infinity minChunks: Infinity
}) }),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env': {
'NODE_ENV': JSON.stringify('production') 'NODE_ENV': JSON.stringify('production')