cleanss-webpack-plugin
v1.0.3
Published
A webpack plugin to clean output.path folder for webpack project.
Downloads
5
Maintainers
Readme
#Clean plugin for wepack
A webpack plugin to clean output.path folder for webpack project.
Installtion
npm install --save-dev cleans-webpack-plugin
##Usage
const EmptyWebpackPlugin = require('empty-webpack-plugin');
module.exports = {
...
plugins: [
// clean out.path folder
new EmptyWebpackPlugin()
]
...
}
module.exports = {
...
plugins: [
// exclude .git folder
new EmptyWebpackPlugin({ exclude: '.git' })
]
...
}