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 babel-plugin docs to hint at @babel/preset-typescript #287

Closed
kitten opened this issue Aug 6, 2018 · 0 comments
Closed

Update babel-plugin docs to hint at @babel/preset-typescript #287

kitten opened this issue Aug 6, 2018 · 0 comments

Comments

@kitten
Copy link
Member

kitten commented Aug 6, 2018

Instead of setting up a TypeScript + Babel transpilation pipeline it's also possible to set up a pure Babel pipeline, as for other compile-to-JS languages now.

This has the added benefit of working the same as Flow or "vanilla" ESnext transpilation and is much easier to get right.

https://babeljs.io/docs/en/next/babel-preset-typescript.html

Related: styled-components/babel-plugin-styled-components#41 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant