Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

docs: fix 'browser to server' build config #66

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

eng-cc
Copy link
Contributor

@eng-cc eng-cc commented Dec 12, 2022

update build confog to fix this error:

`✘ [ERROR] Top-level await is not available in the configured target environment ("es2020" + 1 override)

index.js:15:15:
  15 │   const node = await createLibp2p({
     ╵                ~~~~~

✘ [ERROR] Top-level await is not available in the configured target environment ("es2020" + 1 override)

index.js:20:2:
  20 │   await node.start()
     ╵   ~~~~~

`

@achingbrain achingbrain changed the title example: fix 'browser to server' build config docs: fix 'browser to server' build config Dec 13, 2022
@achingbrain achingbrain merged commit b54132c into libp2p:main Dec 13, 2022
github-actions bot pushed a commit that referenced this pull request Dec 13, 2022
## 1.0.0 (2022-12-13)

### Bug Fixes

* update project config ([#65](#65)) ([09c33cc](09c33cc))

### Dependencies

* update libp2p to release version ([dbd0237](dbd0237))

### Trivial Changes

* Update .github/workflows/stale.yml [skip ci] ([43c70bc](43c70bc))

### Documentation

* fix 'browser to server' build config ([#66](#66)) ([b54132c](b54132c))
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants