diff --git a/packages/backend/.swcrc b/packages/backend/.swcrc index c1b9cbdedf..d9f047b6ac 100644 --- a/packages/backend/.swcrc +++ b/packages/backend/.swcrc @@ -17,10 +17,7 @@ "paths": { "@/*": ["*"] }, - "target": "es2018" - }, - "module": { - "type": "commonjs", + "target": "es2022" }, "minify": false }