// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0 // Writes `src/routeTree.gen.ts`, which is generated and not committed, without a build: the Start plugin writes it // when Vite resolves this directory's config. `tsc` needs the file, and on a fresh checkout nothing has run Vite yet. import { fileURLToPath } from "node:url" import { resolveConfig } from "vite" await resolveConfig({ root: fileURLToPath(new URL(".", import.meta.url)) }, "build")