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

Not a fan of all this prefixing even if it works most of the time, it's a kludge IMO.

The state of code distribution in js is pretty sad IMO. Most es modules are faked. I would like the opposite of Vite where the real es modules are in production. Modules aren't just treated like a toy in other languages. :(



Prefixing should be web components instead probably (for some reason Svelte doesn't default to it, but there should be a push to make it work).

About Vite: I agree, it's not how it should be done. Svelte components should be compiled to real modules with real, easy to understand paths. I would love to use a system that actually I understand, and just compile things to module imports. We could hack it together maybe, it's HackerNews anyways :)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: