Files
infiplot-web/tsconfig.json
T
yuanzonghao 5fab22b9d5 fix(build): exclude scripts/ from tsconfig to fix Vercel build
The gen-style-thumbs.ts script uses Bun-only APIs (import.meta.dir,
Bun.write) which fail TypeScript checking under the project's Next.js
tsconfig. Exclude the scripts directory from compilation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-06 21:57:33 +08:00

58 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ES2022",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noUncheckedIndexedAccess": true,
"verbatimModuleSyntax": false,
"jsx": "react-jsx",
"noEmit": true,
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": [
"./*"
],
"@infiplot/engine": [
"./lib/engine/index.ts"
],
"@infiplot/ai-client": [
"./lib/ai-client/index.ts"
],
"@infiplot/tts-client": [
"./lib/tts-client/index.ts"
],
"@infiplot/types": [
"./lib/types/index.ts"
]
},
"allowJs": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules",
"scripts"
]
}