I am using the clean-webpack-plugin to clean out my public/js folder.
https://www.npmjs.com/package/clean-webpack-plugin
I have tried everything but always get a /public/js has been removed
plugins: [
new CleanWebpackPlugin(['js/'], {
root: '/public',
verbose: true,
dry: false,
exclude: ['360.jpg']
}),