31 lines
970 B
JSON
31 lines
970 B
JSON
|
{
|
|||
|
"compilerOptions": {
|
|||
|
"noImplicitAny": false,
|
|||
|
"target": "esnext",
|
|||
|
"useDefineForClassFields": true,
|
|||
|
"module": "esnext",
|
|||
|
"moduleResolution": "node",
|
|||
|
"strict": false,
|
|||
|
"jsx": "preserve",
|
|||
|
"sourceMap": true,
|
|||
|
"resolveJsonModule": true,
|
|||
|
"esModuleInterop": true,
|
|||
|
"lib": ["esnext", "dom"],
|
|||
|
"baseUrl": ".",
|
|||
|
"allowJs": true,
|
|||
|
"paths": {
|
|||
|
"@/*": ["src/*"]
|
|||
|
},
|
|||
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
|||
|
"allowSyntheticDefaultImports": true /* 允许默认导入 */,
|
|||
|
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|||
|
"types": ["element-plus/global","node"],
|
|||
|
"typeRoots": [
|
|||
|
"./node_modules/@types/",
|
|||
|
"./types"
|
|||
|
] /* 指定多个文件夹,这些文件夹的作用类似于 './node_modules/@types'. */
|
|||
|
},
|
|||
|
"include": ["src/**/*.ts", "src/**/*.vue", "types/**/*.d.ts"],
|
|||
|
"exclude": ["node_modules", "dist", "**/*.js"]
|
|||
|
}
|