1.0.3 • Published 3 years ago
cleanss-webpack-plugin v1.0.3
#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' })
]
...
}