Skip to content

Commit 5e43e42

Browse files
build: update target build to esnext in bundler
1 parent e9e04ba commit 5e43e42

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/slick-carrots-stick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'classic-react-hooks': minor
3+
---
4+
5+
Update target build to esnext in builder

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
minify: 'terser',
1111
shims: true,
1212
outDir: 'dist',
13-
target: 'es2017',
13+
target: 'esnext',
1414
treeshake: true,
1515
jsxFragment: 'React.Fragment',
1616
metafile: true,

0 commit comments

Comments
 (0)