Skip to content

Fix tsconfig root#7966

Open
wesleybl wants to merge 1 commit intomainfrom
tsconfig-fix
Open

Fix tsconfig root#7966
wesleybl wants to merge 1 commit intomainfrom
tsconfig-fix

Conversation

@wesleybl
Copy link
Member

@wesleybl wesleybl commented Mar 5, 2026

Remove the include and exclude from packages/tsconfig/base.json, since the root directory extends from it and we don't have packages/tsconfig/src.

Add the include and exclude to the root tsconfig file, with the correct paths.

This fixes the following error that was displayed by VS Code in the root tsconfig:

The error message "No inputs were found in config file '/home/user/git/volto/tsconfig.json'. Specified 'include' paths were '["packages/tsconfig/src"]' and 'exclude' paths were '["packages/tsconfig/node_modules","packages/tsconfig/build","packages/tsconfig/public","packages/tsconfig/coverage"]'

Remove the `include` and `exclude` from `packages/tsconfig/base.json`, since the root directory extends from it and we don't have `packages/tsconfig/src`.

Add the `include` and `exclude` to the root tsconfig file, with the correct paths.
@davisagli
Copy link
Member

I'll leave this one for @sneridagh to take a look, because I don't know much about Typescript or how we are using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants