summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-18 08:37:50 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-18 08:37:50 -0700
commitb8e10c49c5be2ee3e3e61ebdac1bc0d28809cf15 (patch)
tree53fa3ae277ec0a9c4d00d84e9242411f96c53f62
parent260c4047b1f8531dabd0c94bbc4a7839213b343a (diff)
Set up a path for absolute imports
-rw-r--r--tsconfig.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 5670e52..d7cd514 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,6 +9,9 @@
"outDir": "./dist",
"allowSyntheticDefaultImports": true,
"strict": true,
+ "paths": {
+ "@lib/*": ["src/*"]
+ }
},
"include": [
"src/**/*",