Files
vue-tui/packages/runtime-tests/vite.config.ts
T
Yunfei He 9e7449b1ee chore: exclude PTY fixtures from main tsconfig + lint
Fixture files use jsx: react-jsx (via their own tsconfig) and have
expected children type differences. Exclude from package-level checks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 23:14:41 +08:00

18 lines
578 B
TypeScript

import { defineConfig } from "vite-plus";
import vueJsx from "@vitejs/plugin-vue-jsx";
export default defineConfig({
plugins: [vueJsx()],
test: {
// chalk disables color in non-TTY envs; force it on so ANSI style bugs don't hide from tests
env: { FORCE_COLOR: "3" },
// PTY tests run separately via vitest.pty.config.ts (they need node-pty, no parallelism, longer timeout)
exclude: ["integration/pty/**", "node_modules/**"],
},
lint: {
options: { typeAware: true, typeCheck: true },
exclude: ["integration/pty/fixtures/**"],
},
fmt: {},
});