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:
parent
c991c6b7c0
commit
3880757665
1 changed files with 78 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue