We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsconfig.xxx.json
I have a monorepo setup (pnpm workspaces), where each package has essentially three tsconfigs
pnpm workspaces
tsconfig.build.json
tsconfig.spec.json
tsconfig.json
{ "extends": "../../tsconfig.base.json", "files": [], "include": [], "references": [ { "path": "./tsconfig.build.json" }, { "path": "./tsconfig.spec.json" } ] }
Where tsconfig.base.json is the very root one.
tsconfig.base.json
When I run this script in the project, it removes those references completely, leaving me with this:
{ "extends": "../../tsconfig.base.json", "files": [], "include": [], + "compilerOptions": {} - "references": [ - { - "path": "./tsconfig.build.json" - }, - { - "path": "./tsconfig.spec.json" - } - ] }
which I don't want, because it breaks editor support.
I just want it to add references to libraries that this one depends on. Is there any way of achieving that?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a monorepo setup (
pnpm workspaces
), where each package has essentially three tsconfigstsconfig.build.json
- for the build optionstsconfig.spec.json
- for test-specific options (e.g. including test files)tsconfig.json
- which ties them together via references with the content:Where
tsconfig.base.json
is the very root one.When I run this script in the project, it removes those references completely, leaving me with this:
which I don't want, because it breaks editor support.
I just want it to add references to libraries that this one depends on. Is there any way of achieving that?
The text was updated successfully, but these errors were encountered: