null-webpack-plugin
v1.0.2
Published
A webpack plugin to clean 'output.path' folder for webpack project
Downloads
6
Readme
Clean Plugin for WebPack
A webpack plugin to clean 'output.path' folder for webpack project
Installation
npm install --save-dev null-webpack-plugin
Usage
const NullWebpackPlugin=require('null-webpack-plugin');
module.exports={
...
plugins:[
//clean output.path folder
new NullWebpackPlugin()
]
...
}
module.exports={
...
plugins:[
//exclude output.path folder
new NullWebpackPlugin({exclude:'.git'})
]
...
}