Closed
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.json
defined as./dist
it will create thedist
folder 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.json
defined as./dist
it will create thedist
folder under theaFolder
* base.tsconfig.json
* aFolder/
* tsconfig.json (extends base.tsconfig.json)
* dist/
- if I don't specify any
outDir
files are output in theaFolder
folder
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