Open History to see the last commit
1import { defineConfig } from "vite-plus";
2
3// Astro reads astro.config.mjs. This file only configures `vp run` tasks.
4export 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});