route-tree.ts
This file
Path
apps/web/scripts/route-tree.ts
11 lines · 351 bytes · TypeScript
Last changed by
Merge build/comments-web-rest into mainoscabrielbefore adoption0eb1248
History of this fileTake it
123456789101112// Writes `src/routeTree.gen.ts` without a build: resolving the Vite config runs the TanStack Start plugin's generator.// The tree is not committed, so typecheck, check and fix run this first.import { resolveConfig } from "vite";
await resolveConfig( { logLevel: "silent", root: new URL("..", import.meta.url).pathname, }, "build");