Skip to content
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

Fails during production build #1

Closed
amatoro opened this issue Sep 5, 2018 · 4 comments
Closed

Fails during production build #1

amatoro opened this issue Sep 5, 2018 · 4 comments

Comments

@amatoro
Copy link

amatoro commented Sep 5, 2018

Failed to minify the code from this file:

./node_modules/react-preloading-screen/dist/index.js:1:537
@rdev
Copy link
Owner

rdev commented Sep 5, 2018

@amatoro hi! Can you provide more details about how your project is set up?

@amatoro
Copy link
Author

amatoro commented Sep 5, 2018

Ejected Create React App.

React: 16.4.0
Webpack: 3.8.1
Babel-eslint: 7.2.3

Build create with node scripts/build.js

I am not sure what other information will be useful to troubleshot this, please let me know, thank you!

It seems it's trying to minify already minified code? (Just a random thought I am new with all this).

Thank you!

@rdev
Copy link
Owner

rdev commented Sep 6, 2018

@amatoro the issue was caused by this: facebook/create-react-app#984 (comment)

I just published a fix. Update to react-preloading-screen@1.0.2 and everything should work fine :)

@rdev rdev closed this as completed Sep 6, 2018
@amatoro
Copy link
Author

amatoro commented Sep 6, 2018

Thank you!

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