A lesson learned from the JS ecosystem: if you don't document how to use something correctly or how to deal with a common edgecase, people will build entire new libraries, frameworks, and even language extensions to "fix" it, often breaking other things in the process

(This toot brought to you by "handling dependency loops in CommonJS")

· · Web · 1 · 1 · 2

@joepie91 is it a HT to say bundlers are good actually and maybe ESM vs CJS should just be different syntax for the same basic thing?

Add `await require` for good measure.

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.