Clean Webpack Plugin Versions Save

A webpack plugin to remove your build folder(s) before building

v4.0.0

1 year ago

Changes

  • Added support for NodeJS 14
  • Added support for webpack 5

Breaking changes:

  • Dropped support for NodeJS 8
  • Dropped support for webpack 3

v3.0.0

3 years ago
  • Removed Node 6 support
  • Removed webpack 2 support
  • cleanOnceBeforeBuildPatterns use emit hook instead of compile
  • Do not clean files if webpack errors are present during initial build
  • Replaced default export with named export CleanWebpackPlugin
// es modules
import { CleanWebpackPlugin } from 'clean-webpack-plugin';

// common js
const { CleanWebpackPlugin } = require('clean-webpack-plugin');

v2.0.2

3 years ago

v2.0.1

3 years ago

v2.0.0

3 years ago

Relavant:

Changes:

  • No configuration is needed for standard usage (cleans webpack's output.path)
  • By default during webpack's watch mode, only files created by webpack are removed
  • Because del is used, globbing is supported
  • Plugin is tested directly via webpack
  • All supported versions are tested
  • Windows is tested via appveyor (no mocked tests)
  • Complete build system including prepublish hooks and git prepush/commit hooks
  • Written with Typescript

Additional notes:

Closes Issues: #53 #55 #67 #73 #80 #85 #86 #89 #91 #92 #93 #98 Closes PRs: #39 #74

Massive props to @chrisblossom for working on this and pushing it through.

v1.0.1

4 years ago

v1.0.0

4 years ago

No updates from sub v1 release.