Skip to content
New issue

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

Exclude fails for symlinks #325

Open
DanielOrtel opened this issue Dec 9, 2024 · 0 comments
Open

Exclude fails for symlinks #325

DanielOrtel opened this issue Dec 9, 2024 · 0 comments

Comments

@DanielOrtel
Copy link

For some reason, exclude will fail for symlinked node modules in the config. The following config will not work on a symlinked module, like, for example a package in a workspace:

exclude: [`**/@my-org/**`, '**/node_modules/**',]

this will fail for files where the resolvedPath in resolve-path-update-node is, for example:

/Users/my-user/project/node_modules/@my-org/ui/.dist/index.d.ts

Even though it should satisfy both node_modules exclusion and the my-org exclusion. The exclude rule works fine for all other node_module

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

No branches or pull requests

1 participant