1.0.2 • Published 4 years ago

empty-webpack-plugin v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Clean plugin for webpack

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

Installation

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

Usage

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