Is there any way I can upload the source maps to firebase hosting, and enable\disable them by demand?
I don't want to reveal my source maps on production, but if there's a specific error on production env, I'd like to turn source maps on.
Can this be acheived through cli\api\console?
I was thinking of adding a redirect rule to redirect all source maps requests to a non existent path, but what I cannot figure out is how to enable source maps again. How do I update only the firebase.json to fix the broken source map links?
I finally came up with a solution that satisfies me and I wrote an article that describes in details how to do it.
The gist is: