I've encountered a peculiar issue. When I specify the following in my configuration:
"exclude": [
"node_modules",
"**/__tests__",
"**/*.test.*",
"**/server-handlers/**/*",
"**/*.stories.*",
"tmp/components/form-controls/company-search",
"tmp/components/form-controls/address",
],
"extends": "./tsconfig.json",
"include": [
"tmp/components/**/*",
]
Everything seems fine, except that the address
component isn't included or compiled.
However, when I replace it with a more specific path to exclude only one subdirectory:
"tmp/components/form-controls/address/address-city"
The address-city
component gets included. Why is this happening?