Skip to content

create-react-app fails to minify #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sebaux opened this issue Oct 22, 2018 · 2 comments
Open

create-react-app fails to minify #4

sebaux opened this issue Oct 22, 2018 · 2 comments

Comments

@sebaux
Copy link

sebaux commented Oct 22, 2018

When using this library in a create-react-app application, yarn run react-build fails with the error message:

Failed to minify the code from this file:
./node_modules/crypto-json/index.js:5
@roryrjb
Copy link
Contributor

roryrjb commented Oct 22, 2018

@sebaux can you let me know which version of create-react-app you are using?

@sebaux
Copy link
Author

sebaux commented Oct 24, 2018

@roryrjb sure, I am using React v16.4.1.
I did workaround this by coping the crypto-json index.js file out of node_modules into a project file and importing from there.

@roryrjb roryrjb closed this as completed Apr 3, 2020
@roryrjb roryrjb reopened this Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants