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 copy-webpack-plugin to version 4.0.0 🚀 #1123

Closed

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello lovely humans,

copy-webpack-plugin just published its new version 4.0.0.

State Update 🚀
Dependency copy-webpack-plugin
New version 4.0.0
Type devDependency

This version is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of copy-webpack-plugin.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?

There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

Good luck with your project ✨

You rock!

🌴


GitHub Release

This is a rewrite to add several new features.

Features

  • Debug mode can be enabled with 3 options: warning (default), info, or debug.
  • Transform method can modify the contents of a file before writing it.
  • Warn on missing file or directory. Use the NoErrorsPlugin if you want this to fail the build.
  • Allow name templates in to paths, like webpack's file-loader.
  • Improved performance by reading files concurrently. Before, we used Bluebird's each() to process files, now we use map(). The concurrency option is exposed if you'd like to override the default of 100 parallel files.

Bug fixes

  • Allow graceful-fs to patch EMFILE/ENFILE issues. fs.readFileSync isn't used to load file contents into webpack's compilation.assets anymore.
  • Handle edge case for webpack-dev-server where absolute to couldn't be written.

Breaking changes

  • Ignore globs also ignore dotted files by default.

The new version differs by 14 commits .

  • 1423818 4.0.0 (#83)
  • 03c798b Changed default concurrency to 100 for EMFILE/ENFILE issues (#82)
  • 900b8d5 Removed CHANGELOG.md in favor of releases tab (#81)
  • 9f1059f Changed default ignore glob to ignore dot files (#80)
  • 323b1d7 Improved docs and handle dev-server edge case (#78)
  • 8531cbd Added transform method to patterns (#77)
  • 32eed14 Added name templates and improved performance (#76)
  • 7d7a3d8 Rewrote with debug mode and warn on missing file or dir (#74)
  • 1890d37 Add webpack-dev-server info to FAQ (#71)
  • 80ea64c Merge pull request #60 from kevlened/emfile-enfile-errors
  • da5be5f Add EMFILE and ENFILE error to FAQ
  • 565d5c2 Merge pull request #55 from kevlened/dottedfiletests
  • 414affa Updated test cases to include .dottedfile tests
  • a563f53 Merge pull request #53 from kevlened/subdirectory-blobs

See the full diff.


This pull request was created by greenkeeper.io.

Tired of seeing this sponsor message? ⚡ greenkeeper upgrade

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

Successfully merging this pull request may close these issues.

3 participants