-
Notifications
You must be signed in to change notification settings - Fork 392
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
Javascript not being executed after build #251
Comments
Did you check console in production, maybe JS is there it just some kind of error. Or HTML itself doesn't contain links to JS. If this is later option, please config of |
I'm not sure how I can help you here without actual example of the error. |
Okay I will see if I can, work out a reproducible example. |
Do you use latest CRA2? This can be the issue #252 |
I hope this is fixed in v1.19.0. If not feel free to reopen |
Hey sorry I never got back to you after upgrading and running the build it seemed to work! Thank you for your support! |
I currently have a create-react-app that is not ejected. Our react app is pretty standard with a few dynamic imports at certain paths. After running the build script and react-snap post build the site gets compiled and looks great and can be easily navigated.
The issue seems to be that none of the javascript works.
The homepage does not have any dynamic content just a header carousel but the images no longer rotate and we have a few accordions that no longer function.
Is there anything that we are doing wrong? Or an option that I am missing?
The text was updated successfully, but these errors were encountered: