cleanss-webpack-plugin

1.0.3 • Public • Published

#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' })
    ]
 
    ...
}

Package Sidebar

Install

npm i cleanss-webpack-plugin

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

1.67 kB

Total Files

3

Last publish

Collaborators

  • leitianshun