-
Notifications
You must be signed in to change notification settings - Fork 225
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 fails when included in create-react-app #86
Comments
@dan1elhughes why is it getting the Edit: seems like that might not be it, but there's no real information in |
Is it possible to publish |
Why is ES5 required? It should be the latest-ish ES* spec instead I'd think. Or rather, |
I've done some searching around and I'm struggling to figure out quite what's causing this. I've got a workaround for now, but it's not pretty.. |
I got around this with react-app-rewire-babel-loader. |
@jsleeuw That looks useful, thanks! |
I think the newer versions of create react app do babelize all node modules? I’d be open to that PR. I’d just like to figure out what the root cause is before changing anything first. |
Ah yes, looks like that is indeed the case in facebook/create-react-app#1125 . I'll update my project to latest CRA and see if that changes anything |
Nope, turns out that feature is in the 2.x alpha versions, not the recently released 1.1.1 version. I'll look at creating that PR. |
I'm no longer using this library so I'm going to close this issue. If this bug still exists, I'm sure it'll reappear in another issue as needed :-) |
Looking at the link printed above, it looks like
create-react-app
expects the node modules to be compiled ES5. Is there a way around this?The text was updated successfully, but these errors were encountered: