-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Subclassing Array doesn't work #3181
Comments
Ah there is an PR for that: can we have that in :D |
Yes.
|
I think using browerslist in package.json is a lot better, like babel-preste-env does it |
@kasperpeulen agree. But if you need it ASAP - you got the plan. |
Yeah, it won't work until we allow targeting just modern browsers. |
@gaearon would you take a PR that allows to set the babel-env browser option using the package.json browserlist field? |
relates to: #892 |
That's the plan. |
I have the following code:
This code works if I just copy paste it to the chrome console, but not in create react app:
Anyway to get this to somehow transpile correctly? I tried importing babel-polyfill.
Also, is it possible to somehow tell create-react-app that I don't need to support IE11? Because I think that otherwise, this could work natively, and I wouldn't need a polyfill.
The text was updated successfully, but these errors were encountered: