kun-galgame-vue/tsconfig.json

33 lines
745 B
JSON
Raw Normal View History

2023-04-14 13:58:13 +00:00
{
2023-08-31 09:26:37 +00:00
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
// ts 严格模式
"strict": true,
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"noEmit": true,
"typeRoots": ["node_modules/@types", "./typings"],
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
// ts 的包含编译文件
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
],
"exclude": ["node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }]
2023-04-14 13:58:13 +00:00
}