diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 18:22:15 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 18:22:15 +0200 |
commit | c6bc68c4aa5a9c160c03ab95615411dea7301786 (patch) | |
tree | 6bde24b050dcddf5bd3a740bce9c86d3ff202bb1 /api | |
parent | :bug: fix swc config (diff) | |
parent | :bug: fix types + swcrc configs (diff) | |
download | server-c6bc68c4aa5a9c160c03ab95615411dea7301786.tar.xz |
Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1
Diffstat (limited to 'api')
-rw-r--r-- | api/.swcrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/api/.swcrc b/api/.swcrc index 41d8f80f..794efbd7 100644 --- a/api/.swcrc +++ b/api/.swcrc @@ -1,13 +1,16 @@ { + "module": { + "type": "commonjs" + }, "jsc": { "parser": { "syntax": "typescript", "decorators": true }, "target": "es2021", - "baseUrl": ".", + "baseUrl": "./", "paths": { - "@fosscord/api": ["src/index"], + "@fosscord/api": ["src/index.ts"], "@fosscord/api/*": ["src/*"] } } |