summary refs log tree commit diff
path: root/api/.swcrc
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-08 10:50:32 +0200
committerGitHub <noreply@github.com>2021-10-08 10:50:32 +0200
commit0e038bb3906f4434092282d3ec2d70530ce45667 (patch)
treeff2c8f2fe76c0ff7cf6e798a731df8ad9dfd2d1c /api/.swcrc
parent:arrow_up: update packages (diff)
parent:sparkles: bundle build script (diff)
downloadserver-0e038bb3906f4434092282d3ec2d70530ce45667.tar.xz
Merge pull request #418 from TheArcaneBrony/compiler-change
Switch compiler to swc
Diffstat (limited to 'api/.swcrc')
-rw-r--r--api/.swcrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/api/.swcrc b/api/.swcrc
new file mode 100644

index 00000000..794efbd7 --- /dev/null +++ b/api/.swcrc
@@ -0,0 +1,17 @@ +{ + "module": { + "type": "commonjs" + }, + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true + }, + "target": "es2021", + "baseUrl": "./", + "paths": { + "@fosscord/api": ["src/index.ts"], + "@fosscord/api/*": ["src/*"] + } + } +}