Skip to content

Why does this package pull in core-js? #524

@ersinakinci

Description

@ersinakinci

Just curious why the distributed code has references to core-js. Wouldn't it be better to let end users polyfill as needed?

Specifically, found-relay is causing core-js-pure to get pulled in, which ends up duplicating a lot of the core-js functions that normally get polyfilled (and pollute global namespace).

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