Skip to content

v3.0.0

Compare
Choose a tag to compare
@shellscape shellscape released this 02 Dec 16:10
· 37 commits to master since this release

Breaking Changes

  • chore!: update the codebase, documentation, metadata, tests (#223)

This package now requires an Active LTS Node version (v10.0.0+) and Webpack v4.44.0+.

Bugfixes

  • fix(v5): webpack v5 compatibility
  • fix(v5): check for chunks before checking length. re: #224
  • fix: use SyncWaterfallHook for beforeEmit
  • fix(v5): add ids: true to stats
  • fix: read publicPath from stats to handle [hash] (#215)

Features

  • feat: fallback to asset.info.sourceFilename (#227)
  • feat: useEntryKeys option
  • feat: beforeEmit hook, add hook documentation
  • feat: removeKeyHash option. fixes #210

Updates

  • test: improve removeKeyHash test snapshots
  • test: replace svgr with @svgr/webpack
  • docs: fix require for current version
  • docs: update generate option signature. supercedes #182
  • docs: update sort option parameter types (#218)

Known Issues

  • When using a non-js entrypoint (e.g. entry.txt) Webpack v5 will assign a chunk named as main.txt as well as an asset in stats named entry.txt, with both appearing in the resulting manifest. This appears to be a bug in Webpack v5 with no current workaround.