clean webpack plugin clearing dist folder

Solutions on MaxInterview for clean webpack plugin clearing dist folder by the best coders in the world

showing results for - "clean webpack plugin clearing dist folder"
Manuel
16 Apr 2017
1devServer: {
2index: 'index.html',
3contentBase: path.join(__dirname, 'dist'),
4compress: true,
5hot: true, //Hot module replacement
6port: 9000,
7writeToDisk:true,
8open: 'chrome' //open in chrome
9}
10
11this solved my question of keeping output files generated intact.