Sourced from webpack's releases.
v5.95.0
Bug Fixes
- Fixed hanging when attempting to read a symlink-like file that it can't read
- Handle
defaultfor import context element dependency- Merge duplicate chunks call after split chunks
- Generate correctly code for dynamically importing the same file twice and destructuring
- Use content hash as [base] and [name] for extracted DataURI's
- Distinguish
moduleandimportinmodule-importfor externalsimport's- [Types] Make
EnvironmentPlugindefault values types less strict- [Types] Typescript 5.6 compatibility
New Features
- Add new
optimization.avoidEntryIifeoption (trueby default for theproductionmode)- Pass output.hash* options to loader context
Performance
- Avoid unneeded re-visit in build chunk graph
v5.94.0
Bug Fixes
- Added runtime condition for harmony reexport checked
- Handle properly
data/http/httpsprotocols in source maps- Make
bigintoptimistic when browserslist not found- Move
@types/eslint-scopeto dev deps- Related in asset stats is now always an array when no related found
- Handle ASI for export declarations
- Mangle destruction incorrect with export named default properly
- Fixed unexpected asi generation with sequence expression
- Fixed a lot of types
New Features
- Added new external type "module-import"
- Support
webpackIgnorefornew URL()construction- [CSS]
@importpathinfo supportSecurity
- Fixed DOM clobbering in auto public path
v5.93.0
Bug Fixes
- Generate correct relative path to runtime chunks
- Makes
DefinePluginquieter under default log level- Fixed mangle destructuring default in namespace import
... (truncated)
e20fd63
chore(release): 5.95.04866b0d
feat: added new optimization.entryIife optiond90f692
fix: merge duplicate chunks after split chunks90dec30
fix(externals): distinguish “module” and “import” in
“module-import”c1a0a46
fix(externals): distinguish “module” and “import” in
“module-import”14d8fa8
fix: all tests casesdae16ad
feat: pass output.hash* options to loader context75d185d
feat: pass output.hash* options to loader context46e0b9c
test: update8e62f9f
test