From 4cfbc8cc1155e1cebe4f9a73ac3caf3af18ae8cb Mon Sep 17 00:00:00 2001 From: imeepos Date: Sun, 28 Sep 2025 15:15:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dcore-js=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=AF=BC=E5=87=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 禁用useBuiltIns避免core-js版本冲突导致的模块导出错误 --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 3e49b7a..4bbe90e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -6,7 +6,7 @@ module.exports = { framework: 'react', ts: true, compiler: 'vite', - useBuiltIns: process.env.TARO_ENV === 'h5' ? 'usage' : false + useBuiltIns: false }] ] }