Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cspotcode opened this issue Nov 25, 2019 · 0 comments
Open

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

cspotcode opened this issue Nov 25, 2019 · 0 comments

Comments

@cspotcode
Copy link

cspotcode commented Nov 25, 2019

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 cspotcode changed the title How to use with manual require('ts-node How to use with require('ts-node').register({/* options */})? Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant