diff --git a/src/ts-node.ts b/src/ts-node.ts index 59ca1aa0..4d1aeb43 100644 --- a/src/ts-node.ts +++ b/src/ts-node.ts @@ -22,6 +22,7 @@ export interface TSConfig { } function registerTSNode(root: string) { + if (process.env.OCLIF_TS_NODE === '0') return if (tsconfigs[root]) return const tsconfig = loadTSConfig(root) if (!tsconfig) return