fix
This commit is contained in:
@@ -1,45 +1,49 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"sourceMap": true,
|
"resolveJsonModule": true,//引入json文件
|
||||||
"allowJs": true, //编译时允许有js
|
"esModuleInterop": true,//引入json文件
|
||||||
"baseUrl": ".",
|
"sourceMap": true,
|
||||||
"outDir": "./",
|
"allowJs": true, //编译时允许有js
|
||||||
"types": [
|
"baseUrl": ".",
|
||||||
"webpack-env"
|
"outDir": "./",
|
||||||
],
|
"types": [
|
||||||
"paths": {
|
"webpack-env"
|
||||||
"@/*": [
|
],
|
||||||
"src/*"
|
"paths": {
|
||||||
]
|
"@/*": [
|
||||||
},
|
"src/*"
|
||||||
"lib": [
|
]
|
||||||
"esnext",
|
},
|
||||||
"dom",
|
"lib": [
|
||||||
"dom.iterable",
|
"esnext",
|
||||||
"scripthost"
|
"dom",
|
||||||
]
|
"dom.iterable",
|
||||||
},
|
"scripthost"
|
||||||
"include": [
|
]
|
||||||
"src/**/*.ts",
|
},
|
||||||
"src/**/*.tsx",
|
"include": [
|
||||||
"src/**/*.vue",
|
"src/**/*.ts",
|
||||||
"tests/**/*.ts",
|
"src/**/*.tsx",
|
||||||
"tests/**/*.tsx",
|
"src/**/*.vue",
|
||||||
"src/**/*.js",
|
"tests/**/*.ts",
|
||||||
|
"tests/**/*.tsx",
|
||||||
|
"src/**/*.js",
|
||||||
|
"src/**/*.svg",
|
||||||
|
"src/**/*.gif",
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user