null-webpack-plugin

1.0.2 • Public • Published

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

Thanks

xiaozhan

Readme

Keywords

Package Sidebar

Install

npm i null-webpack-plugin

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.93 kB

Total Files

3

Last publish

Collaborators

  • dazhan