PicList/tsconfig.json
2024-06-16 21:11:21 +08:00

67 lines
1.3 KiB
JSON

{
"compilerOptions": {
"target": "es2019", // https://github.com/TypeStrong/ts-loader/issues/1061
"module": "esnext",
"strict": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"types": [
"webpack-env",
"element-plus/global",
"vue3-photo-preview",
"node"
],
"typeRoots": [
"./src/universal/types/",
"./node_modules/@types",
"./node_modules",
],
"paths": {
"@/*": [
"src/renderer/*"
],
"~/*": [
"src/main/*"
],
"root/*": [
"./*"
],
"#/*": [
"src/universal/*"
],
"apis/*": [
"src/main/apis/*"
],
"@core/*": [
"src/main/apis/core/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
],
"vueCompilerOptions": {
"target": 3,
}
}