fix(ui): enable source maps in production

pull/14552/head
Christopher Henn 2019-08-02 14:19:47 -07:00
parent 6c1f4608e8
commit 15f33dc88d
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ module.exports = merge(common, {
mode: 'production',
devtool: 'source-map',
optimization: {
minimizer: [new TerserJSPlugin({}), new OptimizeCSSAssetsPlugin({})],
minimizer: [
new TerserJSPlugin({sourceMap: true}),
new OptimizeCSSAssetsPlugin({}),
],
splitChunks: {
chunks: 'all',
},