nusmodifications / nusmods

🏫 Official course planning platform for National University of Singapore.
https://nusmods.com
MIT License
591 stars 319 forks source link

Investigate replacing Babel with TypeScript compiler #1550

Open ZhangYiJiang opened 5 years ago

ZhangYiJiang commented 5 years ago

Since we've moved to TypeScript, we may want to try to use tsc not just as a type checker but also for transpilation, by replacing Babel and using ts-loader in Webpack

Possible advantages

Possible disadvantages

We should try setting this up on a test branch and compare the output

li-kai commented 5 years ago

I don't think this will be in our focus in any time, due to TSC's inability to target browser runtimes. This issue will be here for a while.