tsconfig优化
This commit is contained in:
parent
8b8c3c3405
commit
4a4577dc9d
@ -1,25 +1,26 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"importHelpers": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"downlevelIteration":true,
|
||||
"outDir": "dist/compiled",
|
||||
"baseUrl": "./",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"allowJs": true,
|
||||
"jsx": "preserve",
|
||||
"moduleResolution": "node",
|
||||
"module": "ES2022",
|
||||
"lib": ["ES2020", "dom"],
|
||||
"declaration": true,
|
||||
"paths": {
|
||||
"@": ["src"],
|
||||
"@/*": ["src/*"],
|
||||
"/@/*": ["src/*"],
|
||||
"vue": ["node_modules/vue"],
|
||||
"tslib" : ["node_modules/tslib/tslib.d.ts"]
|
||||
}
|
||||
"exclude": ["node_modules"],
|
||||
"compilerOptions": {
|
||||
"noImplicitAny": true,
|
||||
"importHelpers": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"downlevelIteration": true,
|
||||
"outDir": "dist/compiled",
|
||||
"baseUrl": "./",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"allowJs": true,
|
||||
"jsx": "preserve",
|
||||
"moduleResolution": "node",
|
||||
"module": "ES2022",
|
||||
"lib": ["ES2020", "dom"],
|
||||
"declaration": true,
|
||||
"paths": {
|
||||
"@": ["src"],
|
||||
"@/*": ["src/*"],
|
||||
"/@/*": ["src/*"],
|
||||
"vue": ["node_modules/vue"],
|
||||
"tslib": ["node_modules/tslib/tslib.d.ts"]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user