summary refs log tree commit diff
path: root/api/tsconfig.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
commit578cc8b4b616518eae2e4cd9ccabf1bdb4f29980 (patch)
tree34a8e61bdaaa1dbf4add51c4fc5869a60b11596a /api/tsconfig.json
parent:sparkles: generate test responses (diff)
downloadserver-578cc8b4b616518eae2e4cd9ccabf1bdb4f29980.tar.xz
:art: use typescript plugin that converts to relative paths
Diffstat (limited to 'api/tsconfig.json')
-rw-r--r--api/tsconfig.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/tsconfig.json b/api/tsconfig.json
index 21a8eb96..0169642d 100644
--- a/api/tsconfig.json
+++ b/api/tsconfig.json
@@ -66,8 +66,9 @@
 		"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
 		"baseUrl": ".",
 		"paths": {
-			"@fosscord/api": ["src/index.ts"],
+			"@fosscord/api": ["src/index"],
 			"@fosscord/api/*": ["src/*"]
-		}
+		},
+		"plugins": [{ "transform": "@zerollup/ts-transform-paths" }]
 	}
 }