Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution fails for index files #2

Closed
natemoo-re opened this issue Oct 31, 2020 · 2 comments
Closed

Resolution fails for index files #2

natemoo-re opened this issue Oct 31, 2020 · 2 comments

Comments

@natemoo-re
Copy link
Owner

Given src/components/Test/index.tsx, an import from ./components/Test fails because it resolves to ./components/Test.js (which doesn't exist)

@natemoo-re
Copy link
Owner Author

Interesting that @rollup/plugin-node-resolve isn't automatically handling this... Not sure what's going on

@natemoo-re
Copy link
Owner Author

Fixed by #8, although typescript paths aliasing is broken (upstream?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant