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.
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:5Specifically 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.