You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mentioned this in #47, but got no reply. Babel 7 adds @babel/preset-typescript, which, obviously, lets you transpile .ts/.tsx code with the babel pipeline (with some limitations). It would be good to be able to use, e.g. webpackfile.ts without adding any more dependencies or workarounds.
Looks simple enough to add - just add @babel/register with extensions: '.ts' to the end of .ts - but I'd like feedback on if this is a terrible idea before submitting a PR 🤞
The text was updated successfully, but these errors were encountered:
Mentioned this in #47, but got no reply. Babel 7 adds
@babel/preset-typescript
, which, obviously, lets you transpile.ts/.tsx
code with the babel pipeline (with some limitations). It would be good to be able to use, e.g.webpackfile.ts
without adding any more dependencies or workarounds.Looks simple enough to add - just add
@babel/register
withextensions: '.ts'
to the end of.ts
- but I'd like feedback on if this is a terrible idea before submitting a PR 🤞The text was updated successfully, but these errors were encountered: