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

Update .babelrc example for use with TS #401

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Conversation

ekafyi
Copy link
Contributor

@ekafyi ekafyi commented Mar 30, 2021

Using the .babelrc example from "Using with Typescript" in the README breaks async function.

Error: {"errorType":"ReferenceError","errorMessage":"regeneratorRuntime is not defined"}

Relevant issues:

Fix: Add config object in @babel/preset-env

@erezrokah erezrokah added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Mar 30, 2021
Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ekafyi, I added a missing comma and fixed the formatting to use spaces

@erezrokah erezrokah merged commit 96f040d into netlify:master Mar 31, 2021
@ekafyi ekafyi deleted the patch-3 branch March 31, 2021 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants