chore: Update tsconfig.json to exclude src/plugins directory

This commit is contained in:
robin
2024-08-16 11:39:17 +08:00
committed by dashuai
parent db1a527f95
commit 45f410ca4c
+20 -5
View File
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
@@ -20,9 +24,20 @@
"jsx": "react-jsx",
"baseUrl": "./",
"paths": {
"@/*": ["src/*"],
"@i18n/*": ["../i18n/*"]
"@/*": [
"src/*"
],
"@i18n/*": [
"../i18n/*"
]
}
},
"include": ["src", "node_modules/@testing-library/jest-dom", "scripts" ]
}
"include": [
"src",
"node_modules/@testing-library/jest-dom",
"scripts"
],
"exclude": [
"src/plugins"
]
}