Skip to content

Error when loading a page that has react-spring on it #1570

Answered by brandoncc
brandoncc asked this question in Support
Discussion options

You must be logged in to vote

Okay, I have confirmed the fix. Adding the following line to my babel config fixed it:

environment.plugins.get("UglifyJs").options.uglifyOptions.compress.inline = false;

Thanks again!

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brandoncc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1558 on June 11, 2021 20:00.