Closed AbiriAmir closed 6 years ago
You have this issue because of webpack which uses uglify-js
to build, but this package has react-lifecycles-compat@3.0.0
dependency and it has some unminified es6 code so uglify-js
throws error. As I see they already fixed that, so I will update this dep this week and build should be ok
I'd appreciate the fix too... at least a ^
on the dependency
This package is not published pre-compiled. So create-react-app can not build this package with this error:
Please refer to this link: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
Thank you