web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
refactor(rstest): reuse get_module_by_dependency_id and short-circuit external gate
fix/rstest-mock-dynamic-import
40 minutes ago
fix(rstest): use is_some_and to satisfy clippy::map_unwrap_or
fix/rstest-mock-dynamic-import
49 minutes ago
fix(rstest): support mocking dynamic import() of external modules A dynamic `import()` of a mocked external resolved to the real module: rspack mints a different external module id for the dynamic `import("X")` (`external import "X"`) than for the hoisted `rs.mock` (`external module "X"`), so the mock on the static id was missed. The rstest mock methods now append the clean request literal as a trailing argument, and external dynamic imports are routed through `__webpack_require__.rstest_dynamic_require(id, request)`, so the runtime can find the mock registered under that request. Internal modules don't split, so their codegen stays byte-identical (gated on `target_is_external`). The emitted call is guarded (`rstest_dynamic_require ? <shim> : <plain require>`) so a newer @rspack/core stays safe against an older @rstest/core runtime that predates the helper, falling back to plain `__webpack_require__` instead of throwing — decoupling release order. Refs web-infra-dev/rstest#1327, web-infra-dev/rstest#1328
fix/rstest-mock-dynamic-import
1 hour ago
perf: avoid inlining create require parser helpers
JSerFeng:fy/port-create-require
1 hour ago
refactor(lazy-compilation): share reserved externals via Arc Store reserved externals as Arc<Vec<String>> in the plugin and proxy module so each proxy clones the Arc instead of the full list, avoiding O(numProxies * numExternals) copies in large builds. Addresses review feedback on #14228.
fix/lazy-compilation-umd-externals
2 hours ago
perf: keep commonjs require dependency small
JSerFeng:fy/port-create-require
5 hours ago
chore: remove unnecessary changes
codex/css-render-conditions
5 hours ago
refactor: align runtime proxy context model
codex/runtime-requirements-proxy
5 hours ago
Latest Branches
CodSpeed Performance Gauge
-6%
fix(rstest): support mocking dynamic import() of external modules
#14247
47 minutes ago
d3c02ad
fix/rstest-mock-dynamic-import
CodSpeed Performance Gauge
-7%
feat: support parsing createRequire from module
#14206
2 hours ago
5e5a086
JSerFeng:fy/port-create-require
CodSpeed Performance Gauge
-8%
fix(lazy-compilation): reserve closure-library externals on inactive proxy
#14228
2 hours ago
fd1ef4d
fix/lazy-compilation-umd-externals
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs