Skip to content
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

Closed
AlexandreBonaventure opened this issue Jun 2, 2020 · 5 comments
Closed

Question about Edge 44 support #1285

AlexandreBonaventure opened this issue Jun 2, 2020 · 5 comments
Labels
✨ feature request New feature or request

Comments

@AlexandreBonaventure
Copy link
Contributor

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.

@yyx990803
Copy link
Member

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.

@winixt
Copy link

winixt commented Jun 12, 2021

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 esnext,if code has latest es syntax,browser compatibility will become a big issue?

and if it won't, why?

@tlf30
Copy link

tlf30 commented Jan 24, 2023

@yyx990803 this was closed, but I am seeing the error Syntax error in regular expression the chunk-vendors.js when attempting to deploy an application in an environment with Edge 44. Is Edge 44 currently supported?

@AlexandreBonaventure
Copy link
Contributor Author

@tlf30 if you are bundling your app with Vite you should try this: https://www.npmjs.com/package/@vitejs/plugin-legacy

@tlf30
Copy link

tlf30 commented Jan 24, 2023

Thanks @AlexandreBonaventure, I am using Vue CLI

@github-actions github-actions bot locked and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✨ feature request New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants