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

refactor(compiler): the hosts' bundler-shaped helpers in their own section

`router-utils/src/compiler/hosts/` holds what the router and Start hosts
share and the core model never uses: `isFinalBuild`, rebuilds and
invalidated files, eager extracted exports, emitted maps' text, and two
helpers that were copies: `composeLoaderMap` (a webpack-family loader's
output map, with `@jridgewell/remapping`, now a router-utils dependency
only) and `webpackResourceId` (a resource's id, `#` unescaped).
`normalizePath` has one definition beside `identify`; the copies in
router-plugin, Start's hosts, import protection and the start-env planner
use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-29 21:19:07 +01:00
commit 05f12bb3f2
No known key found for this signature in database
31 changed files with 615 additions and 598 deletions