-
Notifications
You must be signed in to change notification settings - Fork 200
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
Edge supports ES6, but not object spread operator #173
Comments
Currently, Proposal:
The other thing to consider here is moving to babel-preset-env. If we integrated this, you would configure very specific browser requirements (e.g."last 2 versions, ie 10") and we would then transpile to a build with the lowest common denominator of features needed for those browsers. Probably not something I would want to do in the next few weeks timeframe, though. |
cc @frankiefu |
I think for these cases supporting babel-preset-env is the best. We have
had so many GitHub on this single thing (e.g. Babel compilation with
different targets) that this solution seems necessary.
…On Thu, 19 Apr 2018, 06:30 Alexander Marks, ***@***.***> wrote:
cc @frankiefu <https://github.com/frankiefu>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#173 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFrDb4sAVV01C80osjEZgXcIyFqPCk6Hks5tqBLigaJpZM4Ta70n>
.
|
Adding babel-preset-env would be nice to have in the future, but probably too much for now. |
For reference, desktop Safari 11.0.3 (previous stable version) also doesn't support object spread. Like Edge, it will getting the es6-bundled build (not esm-bundled since it doesn't have |
Microsoft Edges does not support the full set of features available in the ES6 specification, amongst which, includes the object spread operator. [1] Let's remove the usage of the object spread operator so allow the dashboard to be run from edge browser. [1] Discussion on Edge's support for object spread operator Polymer/tools#173
Microsoft Edges does not support the full set of features available in the ES6 specification, amongst which, includes the object spread operator. [1] Let's remove the usage of the object spread operator so allow the dashboard to be run from edge browser. [1] Discussion on Edge's support for object spread operator Polymer/tools#173
Currently we have the
js.compile
option which is eithertrue
(es5 output) orfalse
(es6 output). While Edge supports es6, it does not support newer syntax such as object spread. We either need to add more granular JS build settings or update browser capabilities for Edge.The text was updated successfully, but these errors were encountered: