Revision e773a292
Added by verbmat@gmail.com over 7 years ago
config/webpack.config.js | ||
---|---|---|
assets: true
|
||
}),
|
||
new ExtractTextPlugin(production ? '[name]-[chunkhash].css' : '[name].css', {
|
||
allChunks: true
|
||
allChunks: true
|
||
}),
|
||
new webpack.DefinePlugin({
|
||
'process.env': { NODE_ENV: JSON.stringify(production ? 'production' : 'development') }
|
||
})
|
||
]
|
||
};
|
||
... | ... | |
compressor: { warnings: false },
|
||
sourceMap: false
|
||
}),
|
||
new webpack.DefinePlugin({
|
||
'process.env': { NODE_ENV: JSON.stringify('production') }
|
||
}),
|
||
|
||
new webpack.optimize.DedupePlugin(),
|
||
new webpack.optimize.OccurenceOrderPlugin(),
|
||
new CompressionPlugin()
|
Also available in: Unified diff
Fixes #18530 - fix package.json dependencies