Comment

Comment by TheAceOfHearts

Aren't there also some limitations with tree shaking when using ES Modules as well? How are polyfills done in a pure ESM world? You still need a build step to get value out of tree shaking, no?

It's been too many years since I seriously looked at the problem, so my memory is fuzzy at best. But I do remember coming away thinking that it's a lot less of a magical or useful feature than I'd originally expected it to be.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton