ts-babel-node
ts-babel-node copied to clipboard
Enables Babel compilation of TypeScript compilation as a Node wrapper.
Using version 1.1.1, I get the following error and can't get round it. Downgrading to 1.1.0 fixes the issue. It's reproducible on the most trivial example: `$ yarn add -D...
Found here https://github.com/danielmoore/ts-babel-node/issues/15
> Because you want ts-node to run async/await code, but TypeScript will only compile async/await to ES6 and Node 5.x doesn't support all of ES6 yet. So you need Babel...
If I run `ts-node` I am able to use the Webstorm debugger however with `ts-babel-node` I'm not. I'm not sure what the issue is other than it's when `registerBabel()` is...
Source maps when compiled through ts-babel-node aren't correct. It's an issue with babel (see https://github.com/babel/babel/issues/5408), however as a workaround, there's a good module on merging source maps, [merge-source-map](https://www.npmjs.com/package/merge-source-map). I've been...