Post
Unless you want to use a major APM via their instrumentation, in which case ESM might still get in the way because it's harder to instrument libraries in some cases. If you have questions, I'm too noob to know the specific answers, ask @bengl.dev
There are no technical hurdles at this point. We're just building the solution now, hopefully in time for Node.js 18 EOL.
2 reposts6 likes
That said, we're all clamoring for (*checks notes*) slow cold starts bsky.app/profile/beng...
I get the desire for ESM for things like tree shaking (though I'd like to see some numbers on impact here). I get the nicer syntax. But, unbundled ESM takes about 2x as long as CJS to load in my tests (can show if desired). If your users aren't bundling ESM opts them in to big a load-time perf hit.