📅  最后修改于: 2022-03-11 15:02:07.910000             🧑  作者: Mango
devServer: {
index: 'index.html',
contentBase: path.join(__dirname, 'dist'),
compress: true,
hot: true, //Hot module replacement
port: 9000,
writeToDisk:true,
open: 'chrome' //open in chrome
}
this solved my question of keeping output files generated intact.