Open History to see the last commit
1import { defineConfig } from "astro/config";
2
3// Astro loads env with an empty prefix, and under `vp run` Vite+'s loadEnv then reports every
4// variable to the task cache. Any env difference (TERM, VP_RAW_SUBCOMMAND, an agent's session
5// vars) would rerun `astro check`. Without the runner client, loadEnv reads process.env directly;
6// file tracking does not use this client.
7delete process.env.VP_RUN_NODE_CLIENT_PATH;
8
9export default defineConfig({
10 site: "https://t3.codes",
11 server: {
12 port: Number(process.env.PORT ?? 4173),
13 },
14});