Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve @babel/runtime esm stability #12883

Merged
merged 3 commits into from Feb 24, 2021

Commits on Feb 23, 2021

  1. Don't warn about unnecessary useESModules

    The `useESModules` option is unnecessary only when the target bundlers
    support exports conditions in `package.json`.
    
    When they don't, it's not possible to force them to use the native ESM
    files unless you use this option, that makes it work by using a different
    non-overloaded entrypoint.
    nicolo-ribaudo committed Feb 23, 2021
    Copy the full SHA
    a2ed7aa View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Use relative imports in ESM helpers

    This makes sure that even if the target bundler doesn't support export
    conditions in `package.json`, an ESM helper will only load other ESM
    helpers.
    nicolo-ribaudo committed Feb 24, 2021
    Copy the full SHA
    8b20b01 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    03208b5 View commit details
    Browse the repository at this point in the history