9e7449b1ee
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>
18 lines
578 B
TypeScript
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: {},
|
|
});
|