-
-
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
[4.2.0] Spread operator error no 'Object.assign' #215
Comments
I’m almost sure that’s because of the switch to Buble. If you have time to find how to do that and send a pull request (if it can be done in Styleguidist itself) that would be awesome ;-) |
@sapegin please add flag which would replace
|
@nkt Could you please share your example source? I don’t think there’s a real need for extra complexity. |
|
@nkt Awesome styleguide!! ❤️ This error is from react-docgen. We use Buble only for client-side rendering of examples in Markdown, not for your components code. |
When upgrading from v4.1.0 to v4.2.0 I am getting this error:
In my Readme.md component example I am setting up a variable and then using the spread operator like so:
This separates out the styling used just for the style guide and common props for ease of use and editing inside the running styleguide app.
I looked through commit history between the two version, the only thing standing out is the switch between babel-standalone and buble. I will look into buble some more, but do I need to include my own Object.assign polyfill now?
Much thanks, love this library!!!
The text was updated successfully, but these errors were encountered: