Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency clean-webpack-plugin to v4 #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xcomponentadmin
Copy link
Contributor

@xcomponentadmin xcomponentadmin commented Sep 1, 2021

This PR contains the following updates:

Package Type Update Change
clean-webpack-plugin devDependencies major ^1.0.0 -> ^4.0.0

Release Notes

johnagan/clean-webpack-plugin

v4.0.0

Compare Source

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

Compare Source

  • 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

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

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.


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants