v5.67.0
版本发布时间: 2022-01-22 01:45:18
webpack/webpack最新发布版本:v5.96.1(2024-11-01 19:01:35)
Features
- add 'outputPath' configuration option for resource asset modules
- support Trusted Types in eval source maps
-
experiments.css
- allow to generate only exports for css in node
- add
SyncModuleIdsPlugin
to sync module ids between server and client compilation - add more options to the
DeterministicModuleIdsPlugin
to allow to generate equal ids
Developer Experience
- limit data url module name in stats printer
- allow specific description for CLI options
- improve space limiting algorithm in stats printing to show partial lists
- add
null
to errors in callbacks - fix call signature types of addChunkInGroup
Bugfixes
- avoid reporting non-existant package.jsons as dependencies
-
experiments.css
- fix missing css runtime when only initial css is used
- fix css hmr support
- bugfixes to css modules
- fix cache serialization for CreateScriptUrlDependency
- fix data url content when processed by a loader
- fix regexp in identifiers that include
|
- fix ProfilingPlugin for watch scenarios
- add layer to module names and identifiers
- this avoid random module id changes when additional modules are added to another layer
- provide hashFunction parameter to DependencyTemplates to allow customizing it there
- fix HMR when experiments.lazyCompilation is enabled
- store url as Buffer to avoid serialization warnings
- exclude
webpack-hot-middleware/client
from lazy compilation
Contributing
- remove travis configuration
- improve spell checking