Fixed a "Cannot find module" bug in Cloudflare's vinext鈥攖he twist? The fix was already shipped. Vinext sets noExternal: true, so Vite routes all deps through its resolver, handling extensionless ESM imports Node 22 rejects.
My job: document it, prove it with a CI test, and not ship a speculative package allowlist.
Three review rounds. One ecosystem fixture. Zero config needed.
Full write-up 馃憞
https://medium.com/@cloudrelic/how-i-fixed-esm-resolution-in-cloudflares-vinext-f2e127ef57b9
