Skip to content

Does babel-polyfills have any strategy to prevent creating cycles? #195

Open
@nyngwang

Description

From babel/babel#8754:

Compilation of node_modules is becoming more common as more packages are publish as ES6.

This is causing problems in two ways:

  • transform-runtime can potentially insert references to core-js into core-js itself
  • transform-runtime can potentially insert references to @babel/runtime-corejs2 into core-js itself
  • transform-runtime can potentially insert references to @babel/runtime-corejs2 into itself, causing dependency cycles
  • And similar with useBuiltins: 'usage' transforming core-js.
    [...]

I think the same question needs to be discussed here.

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