JavaScript modules are now supported on Cloudflare Workers
November 16, 2021 1:58 PM
Now you can use JavaScript modules, also known as ECMAScript or “ES” modules, on Cloudflare Workers. This replaces the old “addEventListener” syntax with a new “import” and “export” semantics that makes it really easy to write reusable, modular code....