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,