We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95955af + 3fdeee1 commit 63eb7e3Copy full SHA for 63eb7e3
src/typescript.ts
@@ -93,7 +93,7 @@ export function getTypescriptConfig(
93
}
94
95
// disallow overrriding rootDir
96
- if (path.resolve(configParseResult.options.rootDir) !== path.resolve(cwd) && logger) {
+ if (configParseResult.options.rootDir && path.resolve(configParseResult.options.rootDir) !== path.resolve(cwd) && logger) {
97
logger.log('Warning: "rootDir" from local tsconfig.json is overriden')
98
99
configParseResult.options.rootDir = cwd
0 commit comments