Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

transform will not mutate imports with '.' in name #9

@ujwal-setlur

Description

@ujwal-setlur

I am trying to import a module api.service, but this transform does not append the the js extension. It's due to this code:

// only when module specifier has no extension
if (path.extname(node.moduleSpecifier.text) !== '') return false

Any reason for this check?

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