Files
2026-11-14 09:56:45 +00:00

9 lines
460 B
JavaScript

// 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")