mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 01:07:23 +00:00
16 lines
458 B
TypeScript
16 lines
458 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
// Astro reads astro.config.mjs. This file only configures `vp run` tasks.
|
|
export default defineConfig({
|
|
run: {
|
|
tasks: {
|
|
// `astro check` regenerates .astro/*.d.ts and then reads them, which
|
|
// keeps a task out of the cache. Its real inputs are tracked as usual.
|
|
typecheck: {
|
|
command: "astro check",
|
|
cache: { input: [{ auto: true }, "!.astro/**"] },
|
|
},
|
|
},
|
|
},
|
|
});
|