v5.65.0
版本发布时间: 2021-12-06 21:57:50
webpack/webpack最新发布版本:v5.94.0(2024-08-22 21:02:40)
Features
- static evaluation understands
undefined
now - reduce container entry code by a few chars
- use template literals when available and they make sense
Bugfixes
- handle
singleton
flag withoutrequiredVersion
in Module Federation - upgrade
watchpack
for context time info bugfix
Performance
- improve RegExp in error message formating for non-quadratic performance
Developer Experience
- automatically insert brackets when
output.globalObject
contains a non-trival expression - show error when using
script
type external with invalid syntax - expose types for
Resolver
,StatsOptions
andResolvePluginInstance
Preparations for the future
-
hashDigestLength
will default to 16 in webpack 6 (experiments.futureDefaults
)