I tried to see if importing an ESM module would work in Workers:
But it produces a non-descript “Not supported” error.
I assume this means ESM modules are not supported in Cloudflare Workers, because the script is not run in a module context?
Is there a roadmap for ESM module support in workers? Implementing/enabling exports is unnecessary, but being able to import (synchronously and asynchronously) a dependency by an URL using ESM import would come in handy.