electron-userland / electron-compilers

DEPRECATED: Compiler implementations for electron-compile
35 stars 55 forks source link

TypeScript then babel #72

Closed fasterthanlime closed 7 years ago

fasterthanlime commented 7 years ago

The original idea is 100% pure @paulcbetts tweetery, but I'm doing it for other selfish purposes.

Paul wanted to target a recent runtime (es2017?) with typescript and have babel fill in the gaps (with as few transformations as possible).

I'm just personally really pissed off at native async/await stacktraces being completely broken, so I wanted to go back to our previous strategy of turning async/await into Bluebird coroutines using babel.

Anyway, this pull request:

Note that this expects both typescript & babel to have (external) sourcemaps enabled.

I'm not sure it's mergeable as-is, but it's a start?!

anaisbetts commented 7 years ago

bless u @fasterthanlime, bless u