Skip to content

extensions should not ignore subpath imports when ignorePackages is used #427

@IanVS

Description

@IanVS

I have decided to add extensions to my typescript module imports, and import-x/extensions has been a godsend for the migration. However, one thing I've noticed is that when using the ignorePackages option, subpath imports like #api/... are treated as packages. I think you should be able to look for an import specifier starting with # (required by the node spec) and treat it as a subpath import, not a package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions