server/webpack.prod.js

10 строки
196 B
JavaScript

const merge = require('webpack-merge')
const common = require('./webpack.common.js')
module.exports = common.map(
config => merge(config, {
mode: 'production',
devtool: '#source-map',
})
)