Files
recipe_tool/tsconfig.json
T
hanhan f351bca924 fix: tsconfig 排除 scripts 目录,修复 Docker 构建失败
scripts/test-remove-days.ts 使用 .ts 扩展名导入(Node 直跑),被 tsc 全量检查时报 TS5097 导致 pnpm build 失败。将 scripts 加入 tsconfig exclude。
2026-09-08 23:29:54 +08:00

35 lines
677 B
JSON

{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules", "scripts"]
}