Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

clean-webpack-plugin clearing dist folder

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.
Source by github.com #
 
PREVIOUS NEXT
Tagged: #clearing #dist #folder
ADD COMMENT
Topic
Name
5+2 =