-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Paths in tsconfig are relative to the config fine in which they are declared. So any path declared in `packages/tsconfig/base.json` is relative to that directory. This applies in particular to `outDir` and `include`. These have to be redeclared in each `tsconfig.json` file in each library. See microsoft/TypeScript#29172
- Loading branch information
Showing
4 changed files
with
17 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"extends": "tsconfig/base" | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "tsconfig/base", | ||
"compilerOptions": { | ||
"outDir": "./dist" | ||
}, | ||
"include": [ | ||
"__test__/**/*", | ||
"vite.config.*", | ||
"src/**/*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters