2021-05-04 21:54:05 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "esnext",
|
|
|
|
"module": "esnext",
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"strict": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"strictFunctionTypes": false,
|
|
|
|
"jsx": "preserve",
|
|
|
|
"baseUrl": ".",
|
|
|
|
"allowJs": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"experimentalDecorators": true,
|
|
|
|
"noImplicitAny": false,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"typeRoots": ["./node_modules/@types/", "./types"],
|
|
|
|
"types": ["vite/client", "webpack-env"],
|
|
|
|
"paths": {
|
|
|
|
"@/*": [
|
|
|
|
"src/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"lib": [
|
|
|
|
"esnext",
|
|
|
|
"dom",
|
|
|
|
"dom.iterable",
|
|
|
|
"scripthost"
|
|
|
|
]
|
|
|
|
},
|
2021-05-06 00:35:05 +08:00
|
|
|
// "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
2021-05-04 21:54:05 +08:00
|
|
|
"exclude": ["dist", "node_modules"]
|
|
|
|
}
|