0.6.1 • Published 6 years ago

clean-output-plugin v0.6.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 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

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago