Skip to content

v4.16.0

Compare
Choose a tag to compare
@sokra sokra released this 11 Jul 08:47
· 9770 commits to main since this release

Features

  • add wasm support for electron-renderer target
  • add optimization.moduleIds and optimization.chunkIds options to replace other options

Bugfixes

  • fix order of side effect evaluation for exported dependencies in side-effect-free modules
  • fix some typos
  • Support the case when passing an array to output.library.root and using a devtool
  • fix a HMR logging message issue in browser where err.stack is not set
  • add missing default extensions to the DllReferencePlugin
  • module/chunk ids in Stats now sort numerical when they are numbers
  • fix lost chunk reasons when using optimization.splitChunks.maxSize
  • fix cases where Dependency.loc is a string instead of an object

Deprecations

  • deprecated Dependency.compare in favor of compareLocations
  • optimization.namedModules is now deprecated
  • optimization.hashedModuleIds is now deprecated
  • optimization.namedChunks is now deprecated
  • optimization.occurrenceOrder is now deprecated