Skip to content

Npm is released in ES6 causing build failures for projects not using babel-preset-0 #61

@jsarman

Description

@jsarman

When another project depends on the library that uses a babel-preset that is greater than 0, the production build can fail with error like
Failed to minify the code from this file: ./node_modules/@availity/api-core/src/api.js:5
Specifically this is occurring from a project using react-scripts.
See http://bit.ly/2tRViJ9 which recommends compiling npm packages to ES5 for at least a few more years until the ecosystem catches up.

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