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

How to configure ES7 support? #146

Open
tuomassalo opened this issue Aug 25, 2017 · 1 comment
Open

How to configure ES7 support? #146

tuomassalo opened this issue Aug 25, 2017 · 1 comment

Comments

@tuomassalo
Copy link

I can't wait (!) to use async/await features offered by ES7.

I apologize for my simple question: What is the preferred way to add ES7 support to the vuepack config?

@shanoaice
Copy link
Collaborator

shanoaice commented Feb 18, 2020

Most modern browsers support async/await by default. If you need to support older browsers, consider using babel-plugin-transform-async-to-promises because this plugin does not use regenerator-runtime which will bloat the bundle size. Polyfilling Promise is done by Vuepack's config so there are no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants