Skip to content

4.0.0

Compare
Choose a tag to compare
@kevlened kevlened released this 23 Oct 19:49
· 423 commits to master since this 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.