Skip to content

Releases: webpack/webpack

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

v5.99.2

08 Apr 07:19
Compare
Choose a tag to compare

Fixes

  • Dead control flow for exotic cases

v5.99.1

07 Apr 22:35
Compare
Choose a tag to compare

Fixes

  • Dead control flow for many cases

v5.99.0

07 Apr 13:12
Compare
Choose a tag to compare

Fixes

  • Fixed a lot of types
  • Fixed runtime error when using asset module as entrypoint and runtimeChunk
  • JSON generator now preserves __proto__ property
  • Fixed when entry module isn't executed when targeting webworker with a runtime chunk
  • Do not duplicate modules with import attributes and reexport
  • The module and module ESM libraries have been union and code generation has been improved
  • Use a valid output path for errored asset modules
  • Remove BOM from JavaScript and CSS files when loader was not used
  • Create export for externals for module/modern-module library
  • Export unprovided variables for commonjs-static library
  • Forward semicolons from meta.webpackAST
  • Use xxhash64 for cache.hashAlgorithm when experiments.futureDefaults enabled
  • [CSS] Fixed profiling plugin for CSS
  • [CSS] Avoid extra module.export output for CSS module

Features

  • Add dead control flow check
  • Handle new Worker(import.meta.url) and new Worker(new URL(import.meta.url)) syntax
  • Added ability to generate custom error content for generators

Performance Improvements

  • Fixed excessive calls of getAllReferences
  • Optimize loc for monomorphic inline caching

Chores

  • Switch on strict types for typescript

v5.98.0

13 Feb 16:29
Compare
Choose a tag to compare

Fixes

Performance Improvements

Chores

Features

Continuous Integration

New Contributors

Full Changelog: v5.97.1...v5.98.0