From 2a6b08636e1b689ae5b66416b6ca6c7c02e0beaf Mon Sep 17 00:00:00 2001 From: xiangnan <280145668@qq.com> Date: Fri, 11 Oct 2024 10:37:43 +0800 Subject: [PATCH] fix:debug default to false, close #7 --- package.json | 2 +- src/js2lua.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b78351f..1983830 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xiangnanscu/js2lua", - "version": "0.45.0", + "version": "0.46.0", "type": "module", "description": "Writing LuaJIT with the expressiveness of JavaScript.", "main": "src/js2lua.mjs", diff --git a/src/js2lua.mjs b/src/js2lua.mjs index aa6fdcc..b0d4090 100644 --- a/src/js2lua.mjs +++ b/src/js2lua.mjs @@ -10,7 +10,7 @@ const TMP_VAR_NAME = "__tmp"; const ES_PAIRS = "esPairs"; const CASE_EXP_NAME = "caseExp"; const defaultOptions = { - debug: true, + debug: false, tagArrayExpression: true, importStatementHoisting: true, transform$SymbolToDollar: true,