Skip to content

Commit b54132c

Browse files
eng-ccchengcheng
and
chengcheng
authored
docs: fix 'browser to server' build config (libp2p#66)
Co-authored-by: chengcheng <[email protected]>
1 parent 09c33cc commit b54132c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/browser-to-server/vite.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export default {
22
build: {
3-
target: 'es2020'
3+
target: 'es2022'
44
},
55
optimizeDeps: {
6-
esbuildOptions: { target: 'es2020', supported: { bigint: true } }
6+
esbuildOptions: { target: 'es2022', supported: { bigint: true } }
77
},
88
server: {
99
open: true

0 commit comments

Comments
 (0)