Skip to content

Feature request: ts compiler option moduleSuffixes #1006

@sipris

Description

@sipris

Dependency Cruiser seems not to support the moduleSuffixes typescript compiler option.

Context

I generate some ts files, this files get a suffixes, e.g., some-module.gen.ts. I use the respective ts option so that I can import such files like this: import * from 'some-module';

Expected Behavior

I'd expect Dependency Cruiser to respect this ts compiler option and resolve the module paths accordingly.

Current Behavior

Dependency Cruiser marks such files as an "unknown" dependency type and is not able to resole them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementthis will make dependency-cruiser sweeter

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions