0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

bench(compiler-perf): replay ESM Rspack loaders through a module hook

Rspack gives a loader in a "type": "module" package type 'module' and
import()s it, so the require cache wrapper never saw Start's compiler loader
(the Rsbuild floor replayed 3 hooks and measured the real build). A load hook
now serves a wrapper module under the loader's URL; the loader request is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-25 12:28:37 +01:00
commit 3880757665
No known key found for this signature in database