Hacker News new | ask | show | jobs
by engido9740 1856 days ago
Unless you're still supporting IE, which is a big gotcha for some I know, then modules are a go now: https://caniuse.com/?search=modules

Vite is one of the first tools I know of taking advantage of this: https://vitejs.dev/

"On demand file serving over native ESM, no bundling required!"

I just launched a small production site using SvelteKit, which now uses this under the hood.