0.1.0 • Published 6 years ago

beckans-webpack-cleanup-plugin v0.1.0

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

webpack-cleanup-plugin

A cleanup plugin for webpack

Requirements

This module requires a minimum of Node v6.9.0 and Webpack 4.

Getting Started

To begin, you'll need to install beckans-webpack-cleanup-plugin:

$ npm install beckans-webpack-cleanup-plugin --save-dev

Then add the plugin to your webpack config. For example:

// webpack.config.js
const CleanupPlugin = require('webpack-cleanup-plugin');

module.exports = {
  // ...
  plugins: [
    new CleanupPlugin(options),
  ],
  // ...
}

And run webpack via your preferred method.

Options

exclude

Type: Array Default: []

extentions

Type: Array Default: null

size

Type: Integer Default: 4700

path

Type: String Default: ./

License

MIT

0.1.0

6 years ago

0.0.2

6 years ago