Skip to content

Commit e44271f

Browse files
committed
build: remove rootDir from root configuration
Removing the rootDir option from the root tsconfig.json allows the TypeScript compiler to automatically compute the root directory based on the common path of all input files. This provides more flexibility in monorepo setups where files span across multiple top-level directories like packages and modules, avoiding strict location constraints that may not apply to all build targets.
1 parent a5e1e48 commit e44271f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"strict": true,
1616
"target": "es2023",
1717
"lib": ["es2023"],
18-
"rootDir": ".",
1918
"rootDirs": [".", "./dist-schema/bin/"],
2019
"paths": {
2120
"@angular-devkit/build-webpack": ["./packages/angular_devkit/build_webpack"],

0 commit comments

Comments
 (0)