webpack is a module packer. The main goal of webpack is to package the javaScript files together, and the packaged files are used in the browser, but it is also capable of transforming, packaging (bundle) or packaging (resource or asset) .
The main updates of Webpack 5.54.0 are as follows:
Features
- Improve constant folding to allow more
&& ||
and??
branches to be skipped - Allow all hashing to be used in
output.hashFunction
, configure with 06157e75bb579b eval
is used in the module, it no longer completely jumps out of the internal graph analysis
Bug fix
- force bump enhanced-the way to solve the error
Performance
- Reduce the amount of allocation when creating snapshots
- Add a wasm-based ultra-fast hash function
output.hashFunction: "xxhash64"
- Improve utf-8 conversion when serializing short strings
- Improve the hashing performance of dependencies
- Add
experiments.cacheUnaffected
, the user caches the calculation of the unchanged module and only references the unchanged module
Update instructions:
https://github.com/webpack/webpack/releases/tag/v5.54.0
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。