Hello! As our Cloudflare Worker becomes more complex with frequent updates, my patience is running thin for having to manually copy & paste the script into the cloudflareworkers.com playground to test before overwriting the current script that’s in production.
Before I deploy the worker to production via
curl using the Cloudflare API, my workflow is to bundle together NodeJS modules using webpack, test development builds using Chrome DevTools, then test production builds in the cloudflareworkers.com playground. (I use the Playground instead of my dashboard’s Editor because I don’t want to accidentally disrupt the script that’s in production.)
Would the folks at Cloudflare consider offering Cloudflare Workers customers precisely two scripts: one script for production, and another for staging?
Two scripts could also give us a taste of what the multiple scripts interface is like in an Enterprise plan, because right now I’m not sure what that UI looks like or whether an API endpoint exists for uploading different scripts.