0.6.1 • Published 4 years ago

clean-output-plugin v0.6.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Install

npm install -D clean-output-plugin

Usage

const CleanOutputPlugin = require('clean-output-plugin')

config.plugins.push(
    new CleanOutputPlugin(
        hook: 'done', //default is 'emit'
        ignoreFiles: [], //the files which will not be removed
        explicitlyDelFiles: [
            'bundle.js',
            '*.js.map',
        ] // the files which will be removed, if a file path is set in the ignoreFiles at the same time, the plugin will delete this file
        // the path of ignoreFiles and explicitlyDelFiles is relative to webpack.output.path
    )
)
0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago