Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you use ESM modules, they won't resolve files without extensions.


Ah! That must be it. Yeah, super weird that you _have_ to put `.js` when that only exists at runtime




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: