Skip to content

Commit

Permalink
docs: fix 'browser to server' build config (libp2p#66)
Browse files Browse the repository at this point in the history
Co-authored-by: chengcheng <chengcheng@qcraft.ai>
  • Loading branch information
eng-cc and chengcheng committed Dec 13, 2022
1 parent 09c33cc commit b54132c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/browser-to-server/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export default {
build: {
target: 'es2020'
target: 'es2022'
},
optimizeDeps: {
esbuildOptions: { target: 'es2020', supported: { bigint: true } }
esbuildOptions: { target: 'es2022', supported: { bigint: true } }
},
server: {
open: true
Expand Down

0 comments on commit b54132c

Please sign in to comment.