ujcms-cp-v10.1.3/tsconfig.json

31 lines
1.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"compilerOptions": {
// "target": "ESNext",
// "module": "ESNext",
"target": "es2020",
"module": "es2020",
"useDefineForClassFields": true,
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"noEmit": true,
"noImplicitAny": false,
"sourceMap": true,
"baseUrl": ".",
"types": ["vite/client", "element-plus/global", "@intlify/unplugin-vue-i18n/messages"],
"paths": {
"@/*": ["src/*"]
}
},
// 使用按需导入之后,不能手动 import { ElMessageBox } from 'element-plus'否则会导致没有css样式
// 应删除对 element-plus 的 import但删除后会飘红报错这是需要这里加上 auto-imports.d.ts 即可
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "mock/**/*.ts", "auto-imports.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}