From 3f68e977c67a19639bbe64e1107018f1bef05460 Mon Sep 17 00:00:00 2001 From: naskya Date: Mon, 1 Jan 2024 11:52:01 +0900 Subject: [PATCH] fix: syntax error when using Node v18-20 https://github.com/swc-project/swc/issues/8392#issuecomment-1849994671 --- ...p_upgrade_node_to_v21 => temp_upgrade_node_to_v21.resolved} | 0 packages/backend/.swcrc | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename neko/messages/{temp_upgrade_node_to_v21 => temp_upgrade_node_to_v21.resolved} (100%) diff --git a/neko/messages/temp_upgrade_node_to_v21 b/neko/messages/temp_upgrade_node_to_v21.resolved similarity index 100% rename from neko/messages/temp_upgrade_node_to_v21 rename to neko/messages/temp_upgrade_node_to_v21.resolved diff --git a/packages/backend/.swcrc b/packages/backend/.swcrc index b726cd42..e0b7d769 100644 --- a/packages/backend/.swcrc +++ b/packages/backend/.swcrc @@ -11,7 +11,8 @@ "decoratorMetadata": true }, "experimental": { - "keepImportAssertions": true + "keepImportAssertions": true, + "emitAssertForImportAttributes": true }, "baseUrl": ".", "paths": {