-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Build is broken: r is not defined #783
Comments
Two funny facts:
It feels like some new version of UglifyJS to me. |
Looks like so, of course they don’t have a change log 🤦♂️
|
@sapegin yeap, if I completely remove |
of course 😂 |
As a temporary workaround I guess you can add an older version of |
Ran in to the same error (I think, although for me it said
Also; maybe this is related? mishoo/UglifyJS#2842 |
Updating to |
Yeah, I'm having this same problem with my builds, so a patch for this would be great. |
I can confirm that @bstream's approach worked perfectly for us. Hoping to remove that when Uglify push a fix. |
@bstream's workaround fixed it for me. |
oh, man. I'm so glad other people were seeing this too. I thought I was crazy. Can also confirm it's UglifyJS and @bstream 's workaround resolves it. |
I am using It's working when if we manually import all the required dependencies for the project in the Styleguidist example. But my Repository has many packages and many examples. It ends in a lot of code repetition. Is there any way to solve this? |
I was able to work around this issue using this |
Hi!
After updating to 6.2.0 most of components have an error:
Demo - https://github.com/lgordey/example
It reproduced only on build task - styleguide:build
In development mode everything seems fine
The text was updated successfully, but these errors were encountered: