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:
parent
3b760f111e
commit
05f12bb3f2
31 changed files with 615 additions and 598 deletions
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
Loading…
Add table
Add a link
Reference in a new issue