webpack-clean-dist-plugin

0.1.2 • Public • Published

webpack-clean-dist-plugin

A simple plugin to clean webpack dist dir.

Installation

npm install webpack-clean-dist-plugin -D

The dist path is webpack compiler outputPath.

Usage

const WebpackCleanDistPlugin = require('webpack-clean-dist-plugin');

// webpack.config.js
module.exports = {
  plugins: [
    new WebpackCleanDistPlugin()
  ]
}

Package Sidebar

Install

npm i webpack-clean-dist-plugin

Weekly Downloads

8

Version

0.1.2

License

ISC

Unpacked Size

1.74 kB

Total Files

3

Last publish

Collaborators

  • sincerity