This library prevents create-react-app from building, because it's published to npm in ES6.
See https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
It looks like you're publishing a built directory, but it might not be transpiled? Either that or maybe that the main prop in package.json is pointing to /index.js, which refers to the files in lib, not in dist - not sure whether that's intentional for the npm package?
This library prevents create-react-app from building, because it's published to npm in ES6.
See https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
It looks like you're publishing a built directory, but it might not be transpiled? Either that or maybe that the
mainprop in package.json is pointing to/index.js, which refers to the files inlib, not indist- not sure whether that's intentional for the npm package?