News for hackers. Stuff that matters.
Re:Alpine.js by lloydatkinson on Friday January 13, 2023 @04:15PM (#34373966)
I'm proud to say I recently published a library on npm and decided to specifically deliberately not publish anything other than ESM. Now bundle sizes are significantly smaller.
Re:Alpine.js by wruza on Friday January 13, 2023 @05:38PM (#34374880)
That’s the right thing to do. The issue that I mentioned included switching suddenly in highly depended-on packages without waiting for major end-user tools to catch up, splitting NPM across ESM for few months. It was a deliberate and non-systematic action. That’s why it’s worth ignoring it here.