natemoo-re/microsite

Resolution fails for index files

natemoo-re opened this issue · 2 comments

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

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

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