-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Closed
Copy link
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
Hello,
I don't know if it's intentional or not but given this structure:
* base.tsconfig.json
* aFolder/
* tsconfig.json (extends base.tsconfig.json)
Actual behavior:
Now running tsc in aFolder:
- if I have an outDir option in the
base.tsconfig.jsondefined as./distit will create thedistfolder in the root folder
* base.tsconfig.json
* aFolder/
* tsconfig.json (extends base.tsconfig.json)
* dist/
- if I have an outDir option in the
aFolder/tsconfig.jsondefined as./distit will create thedistfolder under theaFolder
* base.tsconfig.json
* aFolder/
* tsconfig.json (extends base.tsconfig.json)
* dist/
- if I don't specify any
outDirfiles are output in theaFolderfolder
Expected behavior:
I would expect the dist folder to be created relatively to the path of the main tsconfig used by typescript (here tsconfig.json) regardless if outDir has been specified in the parent or child tsconfig.json
PushPeekPop, tiagob, smithki and so1ua
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug