webpack.dev.js 265 B

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