Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Support async/await by default #23

Closed
azu opened this issue Jan 17, 2019 · 0 comments · Fixed by #32
Closed

Support async/await by default #23

azu opened this issue Jan 17, 2019 · 0 comments · Fixed by #32

Comments

@azu
Copy link
Member

azu commented Jan 17, 2019

preset-env convert code to ES 5 by default.
If the code includes async/await, it require @babel/polyfill.

We want to convert it without configuration.

Related

azu added a commit that referenced this issue Jul 6, 2019
BREAKING CHANGE: this build output will not work on IE 11 anymore

- Add "targets" to "esmodules" for async/await
- Add babel-plugin-static-fs for inliing static content
  - it will improve browser compatibility

fix #23
fix #31
@azu azu closed this as completed in #32 Jul 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant