Closed robertoyoc closed 11 months ago
@robertoyoc thanks for opening that issue! It's indeed correct, skott is not checking index.jsx/index.tsx
modules yet when they are being imported via ./
or .
module declarations (they still can be resolved when being imported as ./index
).
TSX/JSX support was added incrementally, and this is something I forgot to add.
Fixed in #121 by @robertoyoc, will be released in 0.31.3
🎉
@all-contributors please add @robertoyoc for code
@antoine-coulon
I've put up a pull request to add @robertoyoc! :tada:
With the following structure:
Then in another file I have:
This is my tsconfig for the aliasing:
After running
skott index.js --verbose
I seeLooks like library is not checking index.tsx/index.jsx paths? Thanks for your help.