yarn copy-webpack-plugin 4.0.0

latest releases: 10.2.4, 10.2.3, 10.2.2...
7 years ago

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.

Don't miss a new copy-webpack-plugin release

NewReleases is sending notifications on new releases.