fix(deps): update dependency webpack to v5.97.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
webpack | dependencies | minor | 5.95.0 -> 5.97.1 |
Release Notes
webpack/webpack (webpack)
v5.97.1
Bug Fixes
- Performance regression
- Sub define key should't be renamed when it's a defined variable
v5.97.0
Bug Fixes
- Don't crash with filesystem cache and unknown scheme
- Generate a valid code when
output.iife
istrue
and output.library.type isumd
- Fixed conflict variable name with concatenate modules and runtime code
- Merge duplicate chunks before
- Collisions in ESM library
- Use recursive search for versions of shared dependencies
- [WASM] Don't crash WebAssembly with Reference Types (sync and async)
- [WASM] Fixed wasm loading for sync and async webassembly
-
[CSS] Don't add
[uniqueName]
tolocalIdentName
when it is empty - [CSS] Parsing strings on Windows
- [CSS] Fixed CSS local escaping
New Features
- Added support for injecting debug IDs
- Export the
MergeDuplicateChunks
plugin - Added universal loading for JS chunks and JS worker chunks (only ES modules)
- [WASM] Added universal loading for WebAssembly chunks (only for async WebAssembly)
-
[CSS] Allow initial CSS chunks to be placed anywhere - the
output.cssHeadDataCompression
option was deleted - [CSS] Added universal loading for CSS chunks
-
[CSS] Parse ICSS
@value
at-rules in CSS modules -
[CSS] Parse ICSS
:import
rules in CSS modules -
[CSS] Added the
url
andimport
options for CSS - [CSS] Allow to import custom properties in CSS modules
Performance
- Faster Queue implementation, also fixed queue iterator state in dequeue method to ensure correct behavior after item removal
v5.96.1
Bug Fixes
-
[Types] Add
@types/eslint-scope
to dependencieS -
[Types] Fixed regression in
validate
v5.96.0
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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.