Skip to content

Instantly share code, notes, and snippets.

@arqex
Created July 20, 2018 11:22
Show Gist options
  • Save arqex/3c6fd30ba0c807a71020e7cf80133fe5 to your computer and use it in GitHub Desktop.
Save arqex/3c6fd30ba0c807a71020e7cf80133fe5 to your computer and use it in GitHub Desktop.
webpack clean plugin
const Clean = require('clean-webpack-plugin')
// ...
{
// ...
plugins: [
new Clean('build/*.*', {/* options */})
]
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment