nova-admin/tsconfig.json
2023-06-22 00:42:46 +08:00

27 lines
700 B
JSON

{
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"module": "ESNext",
"useDefineForClassFields": true,
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
// "sourceMap": true,
"removeComments": false, // 编译删除注释
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"paths": {
"~/*": ["./*"],
"@/*": ["./src/*"]
},
"types": ["node", "vite/client", "naive-ui/volar"]
},
// "include": ["src/**/*.d.ts", "src/**/*.vue", "./*.d.ts"]
"exclude": ["node_modules", "dist"]
}