webpack.prod.js 196 B

123456789
  1. const merge = require('webpack-merge')
  2. const common = require('./webpack.common.js')
  3. module.exports = common.map(
  4. config => merge(config, {
  5. mode: 'production',
  6. devtool: '#source-map',
  7. })
  8. )