Hacker News new | ask | show | jobs
by claytongulick 67 days ago
But I think it still doesn't work with ESM, only CommonJS, so while not insurmountable, not as good as bun.
1 comments

SEA with node.js "works" for nearly arbitrarily general node code -- pretty much anything you can run with node. However you may have to put in substantial extra effort, e.g., using [1], and possibly more work (e.g., copying assets out or using a virtual file system).

[1] https://www.npmjs.com/package/@vercel/ncc