Skip to content

@babel/runtime devDepdency #64

Description

@mschipperheyn

Do we really need @babel/runtime as a peerDependency? Shouldn't this be a devDependency?

This is creating problems for us in yarn 4.6.0, which is MUCH stricter with dependencies.

Activity

  1. jaywcjlove commented on Jan 6, 2025

    @jaywcjlove
    Member

    @mschipperheyn The compiled code depends on @babel/runtime, which is primarily used to avoid generating redundant helper code during Babel transpilation and to provide the helper functions required for transpiling.

  2. rcostavoloridge commented on Apr 9, 2025

    @rcostavoloridge

    @babel/runtime/helpers/extends

    This break the package when used with https://esm.sh
    This basically creates a dependency in your code :(

  3. added a commit that references this issue on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions