mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
46 lines
911 B
JSON
46 lines
911 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"importHelpers": true,
|
|
"moduleResolution": "node",
|
|
"experimentalDecorators": true,
|
|
// 定义一个变量就必须给它一个初始值
|
|
"strictPropertyInitialization": false,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
// 允许编译javascript文件
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"types": [
|
|
"webpack-env"
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"src/*"
|
|
]
|
|
},
|
|
"lib": [
|
|
"esnext",
|
|
"dom",
|
|
"dom.iterable",
|
|
"scripthost"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"tests/**/*.ts",
|
|
"tests/**/*.tsx"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|