Feature Request: Add support for "Solution Style" tsconfig.json file · Issue #1057 · TypeStrong/ts-node (original) (raw)
// tsconfig.json { files: [], references: [ { path: "./scripts/tsconfig.scripts.json" }, { path: "./frontend/tsconfig.frontend.json" }, { path: "./backend/tsconfig.backend.json" }, ], }
// scripts/tsconfig.scripts.json { "compilerOptions": { "strict": true, "esModuleInterop": true, "module": "CommonJS", "lib": ["ESNext"], "forceConsistentCasingInFileNames": true, "importsNotUsedAsValues": "error" }, "include": ["./**/*.ts"] }
yarn ts-node scripts/foo.ts
should auto use ./scripts/tsconfig.scripts.json