diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 09:59:04 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 09:59:04 +0200 |
commit | 95bb148cfa7b12588d4cd45754e14e2039bdd9a7 (patch) | |
tree | a0d97128a8cfcce095bc2d30cbb1b28000f11451 /gateway | |
parent | Compiler test (diff) | |
download | server-95bb148cfa7b12588d4cd45754e14e2039bdd9a7.tar.xz |
:bug: fix swcrc config: rewrite import -> require
Diffstat (limited to 'gateway')
-rw-r--r-- | gateway/.swcrc | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gateway/.swcrc b/gateway/.swcrc index f04801b8..9a89b49d 100644 --- a/gateway/.swcrc +++ b/gateway/.swcrc @@ -1,9 +1,12 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true - }, - "target": "es2021" - } -} \ No newline at end of file + "module": { + "type": "commonjs" + }, + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true + }, + "target": "es2021" + } +} |