Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

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

robin45f410ca4c9b
diff --git a/ui/tsconfig.json b/ui/tsconfig.json
index b16f340c..ac6a549e 100644
--- a/ui/tsconfig.json
+++ b/ui/tsconfig.json
@@ -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"
+ ]
+}
\ No newline at end of file