Skip to content

Releases: webpack-contrib/copy-webpack-plugin

4.0.0

23 Oct 19:49
Compare
Choose a tag to compare

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.

3.0.1

23 Oct 19:07
Compare
Choose a tag to compare
  • Fix error thrown when subdirectories are in glob results

3.0.0

23 Oct 19:02
Compare
Choose a tag to compare

BREAKING CHANGE

  • No longer writing to filesystem when webpack-dev-server is running. Use the write-file-webpack-plugin to force writing files to the filesystem

2.1.6

23 Oct 19:01
Compare
Choose a tag to compare
  • Readded Node v6.0.0 compatibility after finding root cause

2.1.4

23 Oct 18:59
Compare
Choose a tag to compare
  • Fix Node v6.0.0 compatibility
  • Fix tests running in Node v6.0.0
  • Fix ERROR in Path must be a string. Received undefined. (undefined to when writing directory)

2.1.5

23 Oct 18:59
Compare
Choose a tag to compare
  • Reverted Node v6.0.0 compatibility due to import errors

2.1.3

23 Oct 18:51
Compare
Choose a tag to compare
  • Fix TypeError when working with webpack-dev-server

2.1.1

23 Oct 18:51
Compare
Choose a tag to compare
  • Fixed nested directories in blobs

2.1.0

23 Oct 18:50
Compare
Choose a tag to compare
  • Added pattern-level context
  • Added pattern-level ignore
  • Added flattening

2.0.1

23 Oct 18:50
Compare
Choose a tag to compare
  • Several bug fixes
  • Added support for webpack-dev-server
  • from now accepts glob options
  • Added copyUnmodified option