web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(mf): resolve version from parent package for secondary entry points (#13636)
main
13 minutes ago
feat: enforce macro-generated implemented_hooks in debug builds (#13677) * feat: enforce macro-generated implemented_hooks in debug builds * fix
main
1 hour ago
fix: support module external type in array externals (#13663) * fix: support module external type in array externals When using array-style externals like `["module fs", "promises"]` with the "module" external type, two issues caused incorrect output: 1. In the non-concatenation-scope code path, the property access for the rest elements was missing. The generated code was `module.exports = __rspack_external_fs;` instead of `module.exports = __rspack_external_fs.promises;`. 2. In the concatenation-scope code path, when the request had additional specifiers, the safe-to-optimize branch would incorrectly use individual named imports instead of forcing a namespace import. This matches webpack's behavior of `if (moduleAndSpecifiers.length > 1) imported = true`. Tests are ported from webpack: - `library/module-external-array-request` (from webpack) - `library/module-array-external-request` (ESM library + array externals) - `library/module-array-external-request-concat` (ESM library + array externals + concatenation) - Extended `externals/async-externals` with `module-import` array case * test: add esmOutputCases snapshot for array-type module externals Adds a snapshot test under esmOutputCases/externals/array-request-module that exercises array-type module externals with property access in the modern-module library output path. * fix: revert force_namespace for UsedNamespace(false) case The UsedNamespace(false) branch means exports are completely unused, so we should keep the original side-effect-only import behavior regardless of whether the request has rest specifiers.
main
1 hour ago
fix(esm-library): handle CSS modules in preserveModules CSS modules (native `experiments.css` or mini-css-extract) under `output.library.preserveModules` caused either "chunk xxx should have at least one file" or "Multiple assets emit different content to the same filename". preserveModules set the JS filename_template on CSS chunks, left chunks nameless so multiple CSS files collapsed onto `.css`, and the ESM render phase emitted `import "__RSPACK_ESM_CHUNK_<id>"` placeholders pointing at CSS-only chunks with no JS file. Classify modules in preserve_modules by source_types and set css_filename_template for CSS modules (preserving the `.css` extension and source path), skip CSS-only modules/chunks in the ESM render paths that emit JS-side requires / cross-chunk imports, and make CssExtractRspackPlugin honor chunk.css_filename_template so preserveModules can override its per-chunk filename.
fy/friendly-volhard
2 hours ago
fix: ensure consistent numeric chunk ID types across all call sites Address review feedback: - Fix __rspack_require__.e() to pass numeric chunk IDs (was "903", now 903), ensuring type consistency with runtime === comparisons - Add MAX_SAFE_INTEGER bound check to prevent precision loss - Add json_stringify_chunk_ids() helper for array rendering - Fix missed call sites in CSS plugin, MF plugin, startup chunk dependencies, and chunk prefetch startup - Add unit tests for is_numeric_id and json_stringify_chunk_id - Rename chunk_id_json_string to chunk_id_expr for clarity - Update 9 hot snapshot files and 2 watcher test assertions
fix/numeric-chunk-id-rendering
2 hours ago
fix: address CI failures for assetPath hook
yashwanth195:user/yashwanth195/asset-path-hook
2 hours ago
test: enable TLA split-sync-modules tests that were previously skipped Remove test.filter.js from split-sync-modules-{1,2,3} tests that were skipped with "cycle caused by available modules". These tests exercise the exact circular dependency scenario that extract_tla_shared_modules now fixes. Add warnings.js to expect the TLA circular dependency warning that is emitted when shared modules are extracted.
fy/cranky-chaplygin
2 hours ago
Merge branch 'main' into require-parser-plugins
require-parser-plugins
2 hours ago
Latest Branches
CodSpeed Performance Gauge
+2%
fix(esm-library): handle CSS modules in preserveModules
#13670
4 days ago
35fbb90
fy/friendly-volhard
CodSpeed Performance Gauge
+1%
fix: render numeric chunk IDs as number literals
#13604
2 hours ago
510a74f
fix/numeric-chunk-id-rendering
CodSpeed Performance Gauge
-8%
feat: implement compilation.hooks.assetPath
#13653
3 days ago
9a85d99
yashwanth195:user/yashwanth195/asset-path-hook
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs