Skip to content

Exclude fails for symlinks #325

@DanielOrtel

Description

@DanielOrtel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions