# empty-webpack-plugin

> A webpack plugin to remove/clean your build folder.

Latest version **1.0.2** (published 2020-04-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install empty-webpack-plugin
pnpm add empty-webpack-plugin
yarn add empty-webpack-plugin
bun add empty-webpack-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-04-01 |
| First published | 2020-04-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hunger@jirengu.com |
| Maintainers | hunger |
| Keywords | webpack, plugin, clean, empty, exclude, node |

## Links

- npm: https://www.npmjs.com/package/empty-webpack-plugin
- npm.io page: https://npm.io/package/empty-webpack-plugin

## Dependencies (2)

- [del](https://npm.io/package/del.md) ^5.1.0
- [schema-utils](https://npm.io/package/schema-utils.md) ^2.6.5

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-04-01
- 1.0.1 — 2020-04-01
- 1.0.0 — 2020-04-01

## README

# Clean plugin for webpack

A webpack plugin to clean `output.path` folder for webpack project.

## Installation

```bash
npm install --save-dev empty-webpack-plugin
```

## Usage

```js
const EmptyWebpackPlugin = require('empty-webpack-plugin');

module.exports = {
	...

	plugins: [
	  // clean out.path folder
		new EmptyWebpackPlugin()
	]

	...
}

module.exports = {
	...

	plugins: [
	  // exclude .git folder
		new EmptyWebpackPlugin({ exclude: '.git' })
	]

	...
}

```

## Thanks
[jirengu.com](https://jirengu.com)

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