espower-typescript icon indicating copy to clipboard operation
espower-typescript copied to clipboard

How to use with require('ts-node').register({/* options */})?

Open cspotcode opened this issue 6 years ago • 0 comments

In my project we have our own bootstrapper file that calls require('ts-node').register({/* passing configuration here */}); How should I use espower-typescript with this setup?

Am I correct that espower will do a source-to-source transformation of the Typescript code before it's transpiled by the Typescript compiler? espower emits a string of code and a sourcemap? What's the best way to plug that into our bootstrapper?

cspotcode avatar Nov 25 '19 18:11 cspotcode