Skip to content

Is it possible to resolve node_modules? #1617

@dherault

Description

@dherault

Hi,

I have a project where I need to determine whether the module fs is imported into a codebase. This must include the node_modules too.
So far I've been using addSourceFileAtPath with the codebase's entry and the dependencies resolved entries.

But as far as I can tell resolveSourceFileDependencies does not resolve the node_modules' imports.

Do you know how I can resolve the full codebase?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions