Files
vue-tui/packages/runtime-tests/vite.config.ts
T

18 lines
585 B
TypeScript
Raw Normal View History

2026-05-24 18:13:53 +08:00
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/**"],
},
2026-05-24 18:13:53 +08:00
lint: {
options: { typeAware: true, typeCheck: true },
ignorePatterns: ["integration/pty/fixtures/**"],
2026-05-24 18:13:53 +08:00
},
fmt: {},
});