-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
Question about Edge 44 support #1285
Comments
Yeah we should formalize that - up to this point we've been pretty liberal on the use of ES2015+ features, so there might be a few cases that should be corrected. |
tsconfig compiler target is and if it won't, why? |
@yyx990803 this was closed, but I am seeing the error |
@tlf30 if you are bundling your app with Vite you should try this: https://www.npmjs.com/package/@vitejs/plugin-legacy |
Thanks @AlexandreBonaventure, I am using Vue CLI |
Version
3.0.0-beta.14
Steps to reproduce
As per #1276, it seems like support targets for vue3 are es2015 compatible browsers.
Following this idea, in my understanding Edge 44 (EdgeHTML 18 engine) should be supported out-of-the-box https://kangax.github.io/compat-table/es6/
However, I noticed that object spread syntax is not transpiled in vue dist files (which stricly speaking is es2016 feature). Is there any plan to transpile vue for es2015 compat ? I know edge 44 seems to be the only es2015 browser that is not supporting object spread but that is still noteworthy (https://kangax.github.io/compat-table/es2016plus/).
I am asking because I ran a test transpiling a vue3 app for edge 44 and stumble upon issues, before submitting an issue here I want to know the official position on that topic.
What is expected?
vue3 to support all es2015 browsers including Edge 44
What is actually happening?
vue3 use unsupported features such as Object spread.
The text was updated successfully, but these errors were encountered: