Skip to content

Releases: webpack/webpack

v5.100.2

15 Jul 13:36
Compare
Choose a tag to compare

Fixes

  • Keep consistent CSS order
  • Dependency without the source order attribute must keep their original index
  • Keep module traversal consistent across reexport scenarios

Performance Improvements

  • Extend importPhasesPlugin only when enable deferImport (#19689)

v5.100.1

11 Jul 11:19
Compare
Choose a tag to compare

Fixes

  • Tree-shaking unused ignored modules
  • [Types] Compatibility with old Node.js versions

v5.100.0

09 Jul 11:22
Compare
Choose a tag to compare

Fixes

  • Fixed the case where an ES modules entry chunk depends on the runtime chunk hash
  • Handle function exports in webpack module wrapper
  • Ensure dependent chunks are imported before startup & fix duplicate export of 'default'
  • Generate lose closing brace when exports are unprovided
  • CleanPlugin doesn't unlink same file twice
  • Fixed unexpected error codes from fs.unlink on Windows
  • Typescript types

Features

  • HMR support for ES modules output
  • ES module output mode now fully supports splitChunks when external variables and runtimeChunk are not set.
  • Added support using keyword
  • Implemented tc39 Defer Module Evaluation (experiment)
  • Support dynamic template literals expressions for new URL(...)
  • Enable ES modules worker chunk loading for Node.js targets
  • Improved support for destructing in DefinePlugin
  • Added VirtualUrlPlugin to support virtual: scheme

Performance Improvements

  • Remove useless startup entrypoint runtime for ES modules output
  • Cache new URL(...) evaluate expression

v5.99.9

20 May 11:57
Compare
Choose a tag to compare

Fixes

  • HMR might fail if there are new initial chunks
  • Destructuring namespace import with default
  • Destructuring namespace import with computed-property
  • Generate valid code for es export generation for multiple module entries
  • Fixed public path issue for ES modules
  • Asset modules work when lazy compilation used
  • Eliminate unused statements in certain scenarios
  • Fixed regression with location and order of dependencies
  • Fixed typescript types

v5.99.8

06 May 13:06
Compare
Choose a tag to compare

Fixes

  • Fixed type error with latest @types/node
  • Fixed typescript types

v5.99.7

25 Apr 10:51
Compare
Choose a tag to compare

Fixes

  • Don't skip export generation for default reexport (#19463)
  • Fixed module library export generation for reexport (#19459)
  • Avoid module concatenation in child compilation for module library (#19457)
  • Ensure HMR recover gracefully when CSS module with error
  • Respect cause of any errors and errors of AggregateError in stats output
  • Added missing @types/json-schema in types

v5.99.6

18 Apr 12:12
Compare
Choose a tag to compare

Fixes

  • Respect public path for ES modules
  • Fixed generation of module for module library when mixing commonjs and esm modules
  • Always apply FlagDependencyExportsPlugin for libraries where it required
  • Faster logic for dead control flow
  • Typescript types

v5.99.5

08 Apr 22:46
Compare
Choose a tag to compare

Fixes

  • Control dead flow for labeled and blockless statements

v5.99.4

08 Apr 20:10
Compare
Choose a tag to compare

Fixes

  • Fixed terminated state for if/else

v5.99.3

08 Apr 14:52
Compare
Choose a tag to compare

Fixes

  • Fixed dead control flow with deep nested if/else