Update dependency webpack to v5.94.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| webpack | devDependencies | minor | 5.90.3 -> 5.94.0 |
Release Notes
webpack/webpack (webpack)
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-scope to 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 support
Security
- 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
- 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
binarygenerator option for asset modules to explicitly keep source maps produced by loaders - Added the
modern-modulelibrary value for tree shakable output - Added the
overrideStrictoption to override strict or non-strict mode for javascript modules
v5.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
subtractRuntimefunction 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/globaltype now handles the exports name - Avoid hashing for
@keyframeand@propertyat-rules incss/globaltype - Fixed mangle with destructuring for JSON modules
- The
stats.hasWarnings()method now respects theignoreWarningsoption - Fixed
ArrayQueueiterator - Correct behavior of
__webpack_exports_info__.a.b.canMangle - Changed to the correct plugin name for the
CommonJsChunkFormatPluginplugin - Set the
chunkLoadingoption to theimportwhen environment is unknown and output is module - Fixed when runtimeChunk has no exports when
modulechunkFormat used - [CSS] Fixed parsing minimized CSS import
- [CSS] URLs in CSS files now have correct public path
- [CSS] The
cssmodule 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 attributesspec (withkeyword) - Support
node:prefix for Node.js core modules in runtime code - Support prefetch/preload for module chunk format
- Support "..." in the
importsFieldsoption for resolver - Root module is less prone to be wrapped in IIFE
- Export
InitFragmentclass for plugins - Export
compileBooleanMatcherutil for plugins - Export
InputFileSystemandOutputFileSystemtypes - [CSS] Support the
esModulegenerator option for CSS modules - [CSS] Support CSS when chunk format is module
v5.91.0
Bug Fixes
- Deserializer for ignored modules doesn't crash
- Allow the
unsafeCacheoption to be a proxy object - Normalize the
snapshot.unmanagedPathsoption - Fixed
fstypes - Fixed resolve's plugins types
- Fixed wrongly calculate postOrderIndex
- Fixed watching types
- Output import attrbiutes/import assertions for external JS imports
- Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
- [CSS] Output
layer/supports/mediafor external CSS imports
New Features
- Allow to customize the stage of BannerPlugin
- [CSS] Support CSS exports convention
- [CSS] support CSS local ident name
- [CSS] Support
__webpack_nonce__for CSS chunks - [CSS] Support
fetchPriorityfor CSS chunks - [CSS] Allow to use LZW to compress css head meta (enabled in the
productionmode by default) - [CSS] Support prefetch/preload for CSS chunks
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot