I am utilizing the clean-webpack-plugin to empty the contents of my public/js directory.
https://www.npmjs.com/package/clean-webpack-plugin
Despite trying various methods, I keep encountering the message /public/js has been removed
plugins: [
new CleanWebpackPlugin(['js/'], {
root: '/public',
verbose: true,
dry: false,
exclude: ['360.jpg']
}),