You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Same issue, happens to me both when using tsimp directly and when using the node importer, while tsc compiles with no problem. Had to switch to tsx for this reason.
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 itssrc/index.ts
has a TS extension.I'm using
tsimp
through its own CLI, liketsimp ./bin/my-stack.ts
The text was updated successfully, but these errors were encountered: