-
Notifications
You must be signed in to change notification settings - Fork 64
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
Object initializer get/set accessor shorthand is not transpiled, breaks old browsers. #20
Comments
As a workaround, I'll process this with a post-buble babel step. |
Actually, despite Buble having this bug, this output is appearing in module export code (after transpile), which Rollup handles.
|
Here's the related issue in Rollup: rollup/rollup#1671 |
Is IE 11 a typo in this issue? Getters are supported since IE 9: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#Browser_compatibility |
It was a mistake, the other issue is closed. Closing this one too. |
This is off by default and only triggers if IE 8 is explicitly selected as target. Closes #20.
Babel doesn't handle this either, btw. |
This is off by default and only triggers if IE 8 is explicitly selected as target. Closes #20.
F.e., even with
--target ie:8
,is compiled to
IE 11 throws the infamous "Expected object" error.
The text was updated successfully, but these errors were encountered: