Files
cut-abstractions/tsconfig.json
2025-07-14 16:04:08 +08:00

29 lines
866 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
// "compilerOptions": {
// "target": "ES6",
"module": "ESNext", // 必须用 ESNext
// "esModuleInterop": true,
// "moduleResolution": "node",
// "skipLibCheck": true,
// "sourceMap": true,
// "outDir": "./dist",
// "rootDir": ".", // 改为 "." 包含所有文件
// "strict": true,
// "baseUrl": ".", // 确保路径解析正确
// "paths": {
// // 可选:自定义路径映射(如 "@/*": ["src/*"]
// }
// },
// "include": ["src/**/*", "tests/**/*"], // 包含测试文件
"compilerOptions": {
"types": [],
"resolveJsonModule": true, // 允许导入 .json 文件
"esModuleInterop": true, // 确保 CommonJS/ESM 兼容
"module": "ESNext", // 推荐使用 ESM
"moduleResolution": "Node" // 确保 Node.js 模块解析
},
"exclude": [
"node_modules",
"dist"
]
}