deletedir-webpack-plugin
v1.1.4
Published
A webpack plugin to clean output.path folder for webpack project.
Downloads
4
Readme
Clean plugin for webpack
A webpack plugin to clean output.path
folder for webpack project.
Installation
npm install --save-dev deletedir-webpack-plugin
Usage
const deletedirWebpackPlugin = require('deletedir-webpack-plugin')
module.exports = {
···
plugins: [
//clean out.path folder
new deletedirWebpackPlugin()
]
···
}
module.exports = {
···
plugins: [
//exclude note.md folder
new deletedirWebpackPlugin({exclude: 'note.md'})
]
···
}