lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2k stars 43 forks source link

[Improvement request] Replace Babel with TSC and allow editing of `tsconfig` #593

Open ortonomy opened 7 months ago

ortonomy commented 7 months ago

I want to use a bunch of TS things like allow declare in class properties, decorators, emitting meta data etc.

This is not currently possible in settings.

I think it's time to kill Babel and never go back?

ortonomy commented 7 months ago

seems I may have cloned this, sorry:

https://github.com/lukehaas/RunJS/issues/581

lukehaas commented 7 months ago

Replacing Babel with TSC would result in gaining some things and losing others. For example, do expressions, the pipeline operator, partial application, and others.

ortonomy commented 7 months ago

Not a big loss in my opinion - do is stage 1 proposal and pipeline only stage 2. At least TSC is well supported and the standard. Babel is losing support is kinda old hat. So many better options.