ts-node version v8.0.2
tsc version 3.3.3
Please take a look at ts-node-fail repo, there is a small repro.
If I execute
while there are no transpiled js files (so there's no config.js) config.ts import is messed up and I get output:
If I execute
import works as expected and I get full output
hi from config!
hi from test!
Am I using something wrong? Seems like ts-node just has the bad execution.
ts-node version v8.0.2
tsc version 3.3.3
Please take a look at ts-node-fail repo, there is a small repro.
If I execute
while there are no transpiled js files (so there's no config.js) config.ts import is messed up and I get output:
If I execute
import works as expected and I get full output
Am I using something wrong? Seems like ts-node just has the bad execution.