Skip to content

Cannot import typescript-only dependencies #9

@steelbrain

Description

@steelbrain

While this package does a good job within the project it's invoked from, if you are in a mono-repo and import a sibling package that is Typescript-only then it doesn't work.

I get the TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for ... error for the dependency import because its src/index.ts has a TS extension.

I'm using tsimp through its own CLI, like tsimp ./bin/my-stack.ts

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