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

Async/Await support #34

Open
layinka opened this issue Feb 22, 2019 · 1 comment
Open

Async/Await support #34

layinka opened this issue Feb 22, 2019 · 1 comment

Comments

@layinka
Copy link

layinka commented Feb 22, 2019

Hi,
thanks for this generator, makes things easy.

But i noticed that i cant use any async -await feature, i thought this would be supported since, ES2017 is supported.

Pls whats the easiest way to add async-await to this?

@STUkh
Copy link
Owner

STUkh commented Mar 1, 2019

@layinka try to add this plugins to packages.json and setup it in .babelrc:
https://babeljs.io/docs/en/babel-plugin-syntax-async-functions
https://old.babeljs.io/docs/plugins/transform-async-to-generator/
If you face any issues - feel free to ask for help.

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