26 lines
784 B
JSON
26 lines
784 B
JSON
{
|
||
"compilerOptions": {
|
||
"target": "esnext",
|
||
"useDefineForClassFields": true,
|
||
"module": "esnext",
|
||
"moduleResolution": "node",
|
||
"strict": true,
|
||
"jsx": "preserve",
|
||
"sourceMap": true,
|
||
"resolveJsonModule": true,
|
||
"isolatedModules": true,
|
||
"esModuleInterop": true,
|
||
"lib": ["esnext", "dom"],
|
||
"skipLibCheck": true,
|
||
|
||
//别名需要配置,否则TypeScript引入import别名引入报错
|
||
"baseUrl": "./",
|
||
"paths": {
|
||
"@/*": ["./src/*"],
|
||
//"@components/*": ["./src/components/*"],
|
||
}
|
||
},
|
||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/utils/markdownPlugin/remark-directive.ts", "src/utils/markdownPlugin/mdast-util-directive.js"],
|
||
"references": [{ "path": "./tsconfig.node.json" }]
|
||
}
|