With the google cloud storage option to serve static files, what is the best way to manage it with the local development environment?
Background: I am thinking of switching from standard to flex environment. I am using python runtime, so the switch can let me to switch from python 2.7 to python 3 too. I use webpack to emit a final bundled javascript. In a standard environment I can put the file in the static folder as specified in app.yaml.
But if I were to serve this javascript file out of google CDN, how should I go about setting up my dev environment? I certainly do not want to deploy scripts whenever I made some minor changes. I think it might be possible to use a env variable to control the behaviour. (e,g. use flask to serve static file when in dev, but use CDN otherwise)
What is your setup in your cases?