From 12907b49c14d1602a10d231bdd3ada348497361e Mon Sep 17 00:00:00 2001 From: geekact Date: Tue, 27 Feb 2024 00:21:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85target=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BAes2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsup.config.ts b/tsup.config.ts index ccd26a4..c70f38f 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ format: ['cjs', 'esm'], platform: 'node', tsconfig: './tsconfig.json', - target: 'es2015', + target: 'es2020', legacyOutput: true, shims: false, dts: true,