1.0.3 • Published 3 years ago

cleanss-webpack-plugin v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago