-
Notifications
You must be signed in to change notification settings - Fork 265
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
Color is causing issue to all my documentation #163
Comments
I don't see how this is related at all to I can't really begin to reproduce anything you're describing. Please reduce the problem to a minimal, compilable example. Until then, there's nothing I can really do here. |
Qix- it seems to be working without terser, I am finding a way to skip this error but yeah that's not the right approach. Thanks! |
Same thing started for me as well when I pulled the module to my new computer from npm.
|
For me this was related to an issue with terser : terser/terser#490 |
Yeah, I see that. Mine is obviously coming from |
Alright. Wasn't from Color at all. Apologies for the false alarm. It was from another module, |
I am using Webpack
4.41.0
and I have issue with production build of documentations.I got all my documentation production build broken for some reason.
Example: https://rollup-umd.github.io/test/
Error: RangeError: Maximum call stack size exceeded
I haven't change anything in my source code. It just happen to be broken.
I can't remove UglifyJS plugin because
react-styleguidist
forbid it.Current behavior
After running
npm run styleguide:build
, I have:To reproduce
Expected behavior
npm run styleguide
.Related information
It was working 24h ago, since then, I have not change anything in all my sources codes.
All my production build in all my projects are down.
I believe (unless I am wrong but to me it is the only valid reason): the dep tree as changed.
For those who ask why I don't have a lock file: It is because we do not use
package-lock.json
in distributed modules, because lock file are for application.Related issue:
Debugging
I just added a breakpoint in the minified code and went up the trace, and it happen in a library called color, exactly here.
This file as not been changed since June, and the library where I use it here as also not changed since February.
Something must have change somewhere in the prod build and webpack is in charge of that.
It work on codepen.io : https://codesandbox.io/embed/peaceful-bouman-53ycx
This is the debugger showing me color:
I am not an expert but is there a way to fix that in color code ?
The text was updated successfully, but these errors were encountered: