v5.76.2
版本发布时间: 2023-03-15 23:31:18
webpack/webpack最新发布版本:v5.96.1(2024-11-01 19:01:35)
Bugfixes
- Fix bug where a missing semicolon in generated bundle output for
publicPathRuntime
would cause concatenated runtime errors by @snitin315 in https://github.com/webpack/webpack/pull/16811 - Remove redundant semicolons generated in bundle runtime code after
onScriptComplete
function by @ahaoboy in https://github.com/webpack/webpack/pull/16347 - Fix bug where
RealContentHashPlugin
was not respectingoutput.hashSalt
's ability to cause a force recalculation of[contenthash]
for emitted assets by @dmichon-msft #16789
Performance
- Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by @TheLarkInn in https://github.com/webpack/webpack/pull/15722
- Correct v8 deoptimization in
ModuleGraph
due to instance property declarations occurring outside of constructor by @snitin315 in https://github.com/webpack/webpack/pull/16830
Developer Experience
- Improved internal typings to match
webpack-sources
typings forSource
instances by @snitin315 in https://github.com/webpack/webpack/pull/16805 - Update repo examples to include missing quotation by @snitin315 in https://github.com/webpack/webpack/pull/16812
New Contributors
- @ahaoboy made their first contribution in https://github.com/webpack/webpack/pull/16347
Full Changelog: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2