diff options
Diffstat (limited to 'webpack.prod.js')
-rw-r--r-- | webpack.prod.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webpack.prod.js b/webpack.prod.js new file mode 100644 index 00000000000..7cf446b9be5 --- /dev/null +++ b/webpack.prod.js @@ -0,0 +1,9 @@ +const merge = require('webpack-merge') +const common = require('./webpack.common.js') + +module.exports = common.map( + config => merge(config, { + mode: 'production', + devtool: '#source-map', + }) +) |