DEV Community

loading...

Discussion on: Is babel still relevant for TypeScript projects ?

Collapse
jackmellis profile image
Jack

Great article! Babel is totally still useful, there are a lot of things babel can do over tsc, like literally anything. Until typescript has a plugin system where you can easily include extra transpilers and parsers, babel will always be the more flexible option. If anything I feel like since the typescript preset came out, the question should be "do we still need tsc?"

Collapse
mbeaudru profile image
Manuel Beaudru Author

Thank you !

Pretty much my conclusion indeed, I don't see a scenario where using tsc for the transpiling phase is better now?

But it was not obvious at a first glance, as the reddit answers and my own interrogation shows. Maybe that's because as you said, at the beginning of TypeScript, Babel wasn't an easy option since the TS plugin didn't existed