The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { defineConfig } from "vite-plus"; |
| 2 | |
| 3 | // Astro reads astro.config.mjs. This file only configures `vp run` tasks. |
| 4 | export default defineConfig({ |
| 5 | run: { |
| 6 | tasks: { |
| 7 | // `astro check` regenerates .astro/*.d.ts and then reads them, which |
| 8 | // keeps a task out of the cache. Its real inputs are tracked as usual. |
| 9 | typecheck: { |
| 10 | command: "astro check", |
| 11 | cache: { input: [{ auto: true }, "!.astro/**"] }, |
| 12 | }, |
| 13 | }, |
| 14 | }, |
| 15 | }); |