Skip to content

babel config of a dependency breaks build #5274

@jasonkuhrt

Description

@jasonkuhrt

I have a dependency that includes this Babel configuration in package.json:

"babel": {
    "presets": [
      "es2015",
      "react"
    ]
  }

I have found that when this dependency is installed I get the following error (sometimes at runtime or sometimes at build):

screen shot 2016-01-12 at 4 24 11 pm

If I remove the babel settings aforementioned this error does not occur. I think the opaque error message is due to #5191.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions