v5.96.0
版本发布时间: 2024-11-01 06:02:29
webpack/webpack最新发布版本:v5.96.1(2024-11-01 19:01:35)
Bug Fixes
- Fixed Module Federation should track all referenced chunks
- Handle Data URI without base64 word
- HotUpdateChunk have correct runtime when modified with new runtime
- Order of chunks ids in generated chunk code
- No extra Javascript chunks when using asset module as an entrypoint
- Use optimistically logic for
output.environment.dynamicImport
to determine chunk format when no browserslist or target - Collision with global variables for
optimization.avoidEntryIife
- Avoid through variables in inlined module
- Allow chunk template strings in
output.devtoolNamespace
- No extra runtime for get javascript/css chunk filename
- No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS
- Avoid cache invalidation using ProgressPlugin
- Increase parallelism when using
importModule
on the execution stage - Correctly parsing string in
export
andimport
- Typescript types
-
[CSS]
css/auto
considers a module depending on its filename ascss
(pure CSS) orcss/local
, before it wascss/global
andcss/local
- [CSS] Always interpolate classes even if they are not involved in export
- [CSS] No extra runtime in Javascript runtime chunks for asset modules used in CSS
- [CSS] No extra runtime in Javascript runtime chunks for external asset modules used in CSS
-
[CSS] No extra runtime for the
node
target -
[CSS] Fixed
url()
s and@import
parsing - [CSS] Fixed - emit a warning on broken :local and :global
New Features
- Export CSS and ESM runtime modules
- Single Runtime Chunk and Federation eager module hoisting
-
[CSS] Support
/* webpackIgnore: true */
for CSS files -
[CSS] Support
src()
support - [CSS] CSS nesting in CSS modules