# beckans-webpack-cleanup-plugin

> A cleanup plugin for webpack

Latest version **0.1.0** (published 2018-06-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install beckans-webpack-cleanup-plugin
pnpm add beckans-webpack-cleanup-plugin
yarn add beckans-webpack-cleanup-plugin
bun add beckans-webpack-cleanup-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-06-10 |
| First published | 2018-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel Bäckström |
| Maintainers | beckan |
| Keywords | webpack, webpack-plugin, cleanup |

## Links

- npm: https://www.npmjs.com/package/beckans-webpack-cleanup-plugin
- Repository: https://github.com/beckan/webpack-cleanup-plugin
- Homepage: https://github.com/beckan/webpack-cleanup-plugin#readme
- Issues: https://github.com/beckan/webpack-cleanup-plugin/issues
- npm.io page: https://npm.io/package/beckans-webpack-cleanup-plugin

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-06-10
- 0.0.2 — 2018-06-10

## README

# 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`:

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

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

```js
// 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](./LICENSE)

---
_Source: https://npm.io/package/beckans-webpack-cleanup-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
