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

.babelrc for TypeScript + React #24

Open
ellisonbg opened this issue Nov 10, 2019 · 1 comment
Open

.babelrc for TypeScript + React #24

ellisonbg opened this issue Nov 10, 2019 · 1 comment

Comments

@ellisonbg
Copy link

In case it is helpful to others, here is the .babelrc file that I am using with this kernel to get TypeScript and React working:

{
  "presets": [
    "@babel/react",
    [
      "@babel/typescript",
      {
        "isTSX": true,
        "allExtensions": true,
        "allowNamespaces": true
      }
    ]
  ]
}
@westurner
Copy link
Contributor

Which paths for the .babelrc are supported?

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