summaryrefslogtreecommitdiffhomepage
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
authorLiang Yi <[email protected]>2022-03-16 14:26:15 +0800
committerGitHub <[email protected]>2022-03-16 14:26:15 +0800
commit50a252fdd7e5652d344e9f1eb82ff755d55fe8a5 (patch)
tree204a1fd629f29e1be7e987820b3f829f4c54377d /frontend/tsconfig.json
parentf81972b291b73f5771c40359f18d6470b23e2650 (diff)
downloadbazarr-50a252fdd7e5652d344e9f1eb82ff755d55fe8a5.tar.gz
bazarr-50a252fdd7e5652d344e9f1eb82ff755d55fe8a5.zip
Frontend improvement and cleanup (#1690)
* Replace Create-React-App with Vite.js * Update React-Router to v6 * Cleanup unused codes
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 42c4e3462..ace55124c 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -5,7 +5,7 @@
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"strict": true,
"allowJs": false,
- "skipLibCheck": false,
+ "skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
@@ -14,10 +14,13 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
- "jsx": "react-jsx",
- "baseUrl": "src",
+ "jsx": "preserve",
+ "baseUrl": "./",
"incremental": true,
- "noFallthroughCasesInSwitch": true
+ "noFallthroughCasesInSwitch": true,
+ "paths": {
+ "@/*": ["./src/*"]
+ }
},
- "include": ["src"]
+ "include": ["./src"]
}