#TIL 7 - Use tsconfig.json for ts-node
Use the same tsconfig.json for https://github.com/TypeStrong/ts-node
{
"ts-node": {
// these options are overrides used only by ts-node
// same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs"
}
},
"compilerOptions": {
...
},
...
}