beckans-webpack-cleanup-plugin

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i beckans-webpack-cleanup-plugin

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

7.63 kB

Total Files

4

Last publish

Collaborators

  • beckan