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 | b5905c1bba38cf95b89d716ebea59081209e7df3 (patch) | |
tree | 940f5d8f092c0600efcd4989ee99630bca4e680f /gateway | |
parent | Compiler test (diff) | |
download | server-b5905c1bba38cf95b89d716ebea59081209e7df3.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" + } +} |