add @lib and @api paths for cleaner imports
This commit is contained in:
1 parent
737a8897ba
commit
f4d889e87b
10 files changed
+232
-38
No files matched your search
@@ -6,6 +6,7 @@
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": ".",
|
||||
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
@@ -18,6 +19,10 @@
|
||||
"module": "esnext",
|
||||
"resolveJsonModule": true,
|
||||
"jsx": "preserve",
|
||||
"paths": {
|
||||
"@api/*": ["pages/api/*"],
|
||||
"@lib/*": ["lib/*"]
|
||||
},
|
||||
},
|
||||
"include": [
|
||||
"./**/*.ts"
|
||||
|
||||
Reference in new issue
Block a user