Skip to content

Commit

Permalink
chore: 打包target设置为es2020
Browse files Browse the repository at this point in the history
  • Loading branch information
geekact committed Feb 26, 2024
1 parent 298ea1d commit 12907b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 12907b4

Please sign in to comment.