
5/17/2023 · Samuel Macleod, Adam Murray
What this post added
Introduced a new Quick Edit experience for Cloudflare Workers, powered by VSCode for Web, embedded within the Cloudflare dashboard. This upgrade includes support for multiple JavaScript modules (imports/exports), a high-fidelity edge preview environment that uses the same system as `wrangler dev`, improved error handling with detailed stack traces, and JSDoc TypeScript typechecking with preloaded worker types. The implementation leverages `MessageChannel` for cross-frame communication between the dashboard and the VSCode for Web iframe, and an in-memory filesystem for editing worker code.