You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I parse tsconfig.lib.json I want to have the values from include and exclude from this file, but when I get the tsconfig with getTsconfig('path/to/tsconfig.lib.json') I get the exclude from the tsconfig.base.json file and no include at all.
Also the config from tsconfig.jsx.json extended in tsconfig.lib.json does not get merged.
Expected behavior
All config files should be merged by their priority.
Problem
I have a monorepo with the following
tsconfig.lib.json
for my library:With the following
tsconfig.json
in the same directory:And with the following
tsconfig.base.json
in the root directory:When I parse
tsconfig.lib.json
I want to have the values frominclude
andexclude
from this file, but when I get the tsconfig withgetTsconfig('path/to/tsconfig.lib.json')
I get the exclude from thetsconfig.base.json
file and noinclude
at all.Also the config from
tsconfig.jsx.json
extended intsconfig.lib.json
does not get merged.Expected behavior
All config files should be merged by their priority.
Minimal reproduction URL
https://github.com/floratmin/get-tsconfig-error
Version
9.15.0
Node.js version
v22.8.0
Package manager
pnpm
Operating system
Linux
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution
The text was updated successfully, but these errors were encountered: