d976ab5f90
Ink tests use chalk level 3 (24-bit) for hex/rgb/ansi256 colors. Level 1 (basic 16-color) caused different ANSI codes than expected. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
366 B
TypeScript
15 lines
366 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" },
|
|
},
|
|
lint: {
|
|
options: { typeAware: true, typeCheck: true },
|
|
},
|
|
fmt: {},
|
|
});
|