webpack基础——模块热替换
module.exports = {
mode: 'development',
devtool: 'eval',
devServer: {
static: './dist',
hot: true, //就是这个hot,它默认是true打开的,但是好像也没什么效果(暂时没试出来)
proxy: {
'/abc': {
target: 'http://baicu.com/',
changeOrigin: true
}
}
},
..........