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

Babel is not recognising Async / Await #4

Open
andreros opened this issue Mar 29, 2019 · 0 comments
Open

Babel is not recognising Async / Await #4

andreros opened this issue Mar 29, 2019 · 0 comments

Comments

@andreros
Copy link

When building a project with your boilerplate and using async / await functions those functions do not work.

I have solved the problem by adding the following dependency to package.json:

  "devDependencies": {
   ...
    "babel-polyfill": "^6.26.0",
   ...

and also changing the following configuration in webpack.common.js configuration file:

entry: ['babel-polyfill', './index.js'], //babel polyfill needed for full compatibility with ES6 environments

If you find this information relevant, please, update your boilerplate. Thank you!

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

1 participant