aboutsummaryrefslogtreecommitdiff
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json24
1 files changed, 19 insertions, 5 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index a7fc6fb..32b1392 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -2,10 +2,13 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "lib": [
+ "ES2020",
+ "DOM",
+ "DOM.Iterable"
+ ],
"module": "ESNext",
"skipLibCheck": true,
-
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
@@ -13,13 +16,24 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
-
+ "baseUrl": ".",
+ "paths": {
+ "@/*": [
+ "./src/*"
+ ]
+ },
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
- "include": ["src"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ "include": [
+ "src"
+ ],
+ "references": [
+ {
+ "path": "./tsconfig.node.json"
+ }
+ ]
}