Sourced from webpack's releases.
v5.93.0
Bug Fixes
- Generate correct relative path to runtime chunks
- Makes
DefinePlugin
quieter under default log level- Fixed mangle destructuring default in namespace import
- Fixed consumption of eager shared modules for module federation
- Strip slash for pretty regexp
- Calculate correct contenthash for CSS generator options
New Features
- Added the
binary
generator option for asset modules to explicitly keep source maps produced by loaders- Added the
modern-module
library value for tree shakable output- Added the
overrideStrict
option to override strict or non-strict mode for javascript modulesv5.92.1
Bug Fixes
- Doesn't crash with an error when the css experiment is enabled and contenthash is used
v5.92.0
Bug Fixes
- Correct tidle range's comutation for module federation
- Consider runtime for pure expression dependency update hash
- Return value in the
subtractRuntime
function for runtime logic- Fixed failed to resolve promise when eager import a dynamic cjs
- Avoid generation extra code for external modules when remapping is not required
- The
css/global
type now handles the exports name- Avoid hashing for
@keyframe
and@property
at-rules incss/global
type- Fixed mangle with destructuring for JSON modules
- The
stats.hasWarnings()
method now respects theignoreWarnings
option- Fixed
ArrayQueue
iterator- Correct behavior of
__webpack_exports_info__.a.b.canMangle
- Changed to the correct plugin name for the
CommonJsChunkFormatPlugin
plugin- Set the
chunkLoading
option to theimport
when environment is unknown and output is module- Fixed when runtimeChunk has no exports when
module
chunkFormat used- [CSS] Fixed parsing minimized CSS import
- [CSS] URLs in CSS files now have correct public path
- [CSS] The
css
module type should not allow parser to switch mode- [Types] Improved context module types
New Features
- Added platform target properties to compiler
- Improved multi compiler cache location and validating it
- Support
import attributes
spec (with
keyword)- Support
node:
prefix for Node.js core modules in runtime code- Support prefetch/preload for module chunk format
... (truncated)
277460b
chore(release): 5.93.076ab754
fix: relative path to runtime chunks40b1a77
test: added080e54f
fix: relative path to runtime chunks7764e38
chore(deps-dev): bump eslint from 9.5.0 to 9.6.022738f3
chore(deps-dev): bump eslint from 9.5.0 to 9.6.01a27b9e
fix: contenthash for css generator optionse716d44
chore(deps-dev): bump @eslint/js
from 9.5.0 to 9.6.07a34330
chore(deps-dev): bump typescript from 5.5.2 to 5.5.3974752f
chore(deps-dev): bump globals from 15.6.0 to 15.8.0