summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:22:15 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:22:15 +0200
commit29516da90fcd25ced52a0cf3572eb2aa5e77e566 (patch)
treea46ba02f4514e10975766278f2efc4ca8f537545 /bundle
parent:bug: fix swc config (diff)
parent:bug: fix types + swcrc configs (diff)
downloadserver-29516da90fcd25ced52a0cf3572eb2aa5e77e566.tar.xz
Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1
Diffstat (limited to '')
-rw-r--r--bundle/.swcrc22
1 files changed, 6 insertions, 16 deletions
diff --git a/bundle/.swcrc b/bundle/.swcrc

index bdcea43b..9a89b49d 100644 --- a/bundle/.swcrc +++ b/bundle/.swcrc
@@ -1,22 +1,12 @@ { + "module": { + "type": "commonjs" + }, "jsc": { "parser": { - "syntax": "ecmascript", - "jsx": false, - "dynamicImport": false, - "privateMethod": false, - "functionBind": false, - "exportDefaultFrom": false, - "exportNamespaceFrom": false, - "decorators": false, - "decoratorsBeforeExport": false, - "topLevelAwait": false, - "importMeta": false + "syntax": "typescript", + "decorators": true }, - "transform": null, - "target": "es2021", - "loose": false, - "externalHelpers": false, - "keepClassNames": false + "target": "es2021" } }