1 2 3 4 5 6 7 8 9 10 11 12
const merge = require('webpack-merge'); const common = require('./webpack.common.js'); module.exports = merge(common, { mode: 'development', devServer: { historyApiFallback: true, noInfo: true, overlay: true }, devtool: '#cheap-source-map', })