https://github.com/zeecoder/babel-preset-env-usebuiltins-error-repro
https://github.com/zeecoder/babel-preset-env-usebuiltins-error-repro
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeecoder/babel-preset-env-usebuiltins-error-repro
- Owner: ZeeCoder
- Created: 2019-11-21T09:58:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T01:22:37.000Z (over 3 years ago)
- Last Synced: 2025-01-27T13:14:32.450Z (over 1 year ago)
- Language: JavaScript
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solution
https://github.com/babel/babel/issues/10745#issuecomment-557075583
# Instructions
Run `yarn`, then `yarn build`.
It should give you the following error:

Then in the `entry.js`, use the `./esm` import, instead of the `cjs` one.
Then it will compile fine:
