Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

Branches performance

Pull requests

fix(esm-lib): mark entry deps exports as used to fix shared chunk splitting#13421
last run
56 minutes ago
fix(esm-lib): mark entry deps exports as used to fix shared chunk splitting Root cause: `export * from './a'` creates a lazy dependency (set_lazy) when the target module is side-effect-free. The lazy connection's activity depends on per-runtime export usage — if entry2 doesn't use export `a`, the lib→a connection is inactive for entry2's runtime. This causes `a.js` to only appear in entry1's chunk, failing the minChunks:2 threshold for SplitChunksPlugin extraction. Fix: in finish_modules, also mark the direct dependencies of entry modules as "used in unknown way" (all runtimes). This keeps re-export connections active across all runtimes so modules like a.js/b.js appear in all entry chunks and get correctly extracted to the shared chunk by SplitChunksPlugin. This replaces the previous pull_module_into_non_entry_chunks approach which moved modules between chunks post-split (treating the symptom rather than the root cause).
2 hours ago
4eade99
JSerFeng:jserfeng/62fd-demo-rspack-demo
CodSpeed Performance Gauge
0%
revert: keep NormalInitFragment in !safe_to_optimize path to preserve import order Revert the external_module.rs change that replaced NormalInitFragment with register_namespace_import in the UsedNames + !safe_to_optimize path. The NormalInitFragment carries pre_order_index for deterministic import ordering, which is important for the standard ConcatenatedModule path where ESM import evaluation order matters for side-effectful externals. The render.rs dedup logic in the ESM library plugin is sufficient to handle the duplicate identifier case on its own.
3 hours ago
3223d68
jserfeng/7321-demo-rspack-demo
CodSpeed Performance Gauge
0%
fix: deduplicate source name stable#13416
last run
5 hours ago
fix: unsed dep
5 hours ago
13979f8
fix-source-map-deduplicate_source_names-stable
CodSpeed Performance Gauge
0%
refactor: future consumer drop static lifecycle requirement
21 hours ago
2ffc990
jerry/consumer
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs