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
commitc6bc68c4aa5a9c160c03ab95615411dea7301786 (patch)
tree6bde24b050dcddf5bd3a740bce9c86d3ff202bb1 /bundle
parent:bug: fix swc config (diff)
parent:bug: fix types + swcrc configs (diff)
downloadserver-c6bc68c4aa5a9c160c03ab95615411dea7301786.tar.xz
Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1
Diffstat (limited to 'bundle')
-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" } }