📌  相关文章
📜  clean-webpack-plugin 清除 dist 文件夹 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:07.910000             🧑  作者: Mango

代码示例1
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.