Highlights 💡
Source Map Generation for Rspack Runtime Code
Rspack now supports source map generation for runtime code, enabling more efficient diagnosing problems—both in production and development environments.
What's Changed
Performance Improvements ⚡
- perf: import node inspector dynamically by @chenjiahan in #10296
Exciting New Features 🎉
- feat: generate source map for runtime code by @SyMind in #10245
- feat(wasm): support
tracing-chrome
in wasm by @CPunisher in #10246 - feat: add url config to css parser by @stormslowly in #10229
- feat: expose hasChunkEntryDependentChunks on ChunkGraph by @gaoachao in #10286
- feat: support binary option of asset generator by @LingyuCoder in #10301
- feat: js api for compilation code generation results by @SyMind in #10303
- feat: compilation.addEntry support by @henryqdineen in #10268
- feat: support
include
andexclude
ofimport.meta.webpackContext
by @LingyuCoder in #10318 - feat(swc): enhance TransformOutput with diagnostics by @GiveMe-A-Name in #10312
- feat(create-rspack): better default browserslist target by @vegerot in #10290
Bug Fixes 🐞
- fix(types): export PitchLoaderDefinitionFunction type by @henryqdineen in #10289
- fix: allow the SRI plugin to be used without passing options by @LingyuCoder in #10294
- fix: parser generator arg validate by @stormslowly in #10298
- fix: chunk loading should be import by default when chunk format is module by @LingyuCoder in #10307
- fix: not evaluate
typeof __dirname
when set to false by @LingyuCoder in #10308 - fix: test no setTimeout by @LingyuCoder in #10313
- fix: environment.dynamicImport should affect chunkFormat and chunkLoading by @LingyuCoder in #10309
- fix:
dataWebpackPrefix
of load script runtime module by @LingyuCoder in #10316 - fix: simplify trace implementation by removing unused code by @chenjiahan in #10325
- fix(template-react-ts): work with newer Node by @vegerot in #10304
Document Updates 📖
- docs(diagnostic): add loader experimental diagnostic API by @h-a-n-a in #10287
- docs: fix invalid link by @Timeless0911 in #10299
- docs: update tracing doc by @hardfist in #10328
Other Changes
- chore(deps): update rspress to 2.0.0-beta.4 by @renovate in #10283
- chore(deps): update github-actions by @renovate in #10280
- test: remove new code splitting tests as now its the default by @JSerFeng in #9939
- test: enable some test cases by @LingyuCoder in #10288
- chore: Revert "test: enable some test cases (#10288)" by @stormslowly in #10300
- test: enable more webpack stats test cases by @LingyuCoder in #10302
- test: enable more webpack config test cases by @LingyuCoder in #10306
- chore: bump SWC to v23.2.0 and remove swc_parallel by @GiveMe-A-Name in #10293
- chore(deps): update dependency less-loader to ^12.3.0 by @renovate in #10322
- chore(deps): update dependency @babel/core to ^7.27.1 by @renovate in #10321
- chore(deps): update rust crate browserslist-rs to 0.18.1 by @renovate in #10323
New Contributors
Full Changelog: v1.3.9...v1.3.10