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 /bundle | |
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 'bundle')
-rw-r--r-- | bundle/.swcrc | 22 |
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" } } |