0.2.3 • Published 8 years ago

webpack-clean-plugin v0.2.3

Weekly downloads
471
License
MIT
Repository
github
Last release
8 years ago

webpack-clean-plugin

A Webpack plugin for removing files and folders.

Installation

npm install webpack-clean-plugin --save-dev

Example Webpack Config

var WebpackCleanPlugin = require('webpack-clean-plugin');

module.exports = {
    plugins: [
        new WebpackCleanPlugin({
            on: "emit",
            path: ['./static', './build']
        })
    ]
}
on

One of Webpack build steps. Such as emit compilce and so on.

emit
path

The Array of file and dictory or just a string.

['./static', './build'] or './build'

License

https://opensource.org/licenses/mit-license.php

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago