From b5905c1bba38cf95b89d716ebea59081209e7df3 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 7 Oct 2021 09:59:04 +0200 Subject: :bug: fix swcrc config: rewrite import -> require --- cdn/.swcrc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'cdn') diff --git a/cdn/.swcrc b/cdn/.swcrc index f04801b8..9a89b49d 100644 --- a/cdn/.swcrc +++ b/cdn/.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" + } +} -- cgit 1.4.1