Cannot find modules -- support TS Paths Aliases #322
Labels
solution: duplicate
This issue or pull request already exists
solution: workaround available
There is a workaround available for this issue
topic: TS Paths Aliases
Related to using aliases with TypeScript paths
Current Behavior
I have a.ts and b.ts in my src folder.
And in b.ts, I import a.ts by using import like the following statement:
Here is my tsconfig.json:
And I can build correctly by using
tsdx build
. But there comes an error when usingtsdx test
:Expected behavior
This question makes me confused.
I think since it can build successfully, it should be able to resolve all my modules correctly when testing.
How can I make it right when I want to import my own modules like:
Your environment
The text was updated successfully, but these errors were encountered: