Does Firebase support ES6?

The long answer about why this is a complicated problem has been discussed in some blogs, for example here and here. EDIT: The firebase CLI now supports projects using TypeScript, which gives you access to ES7 syntax. It will automatically compile that down to ES6 for deployment to Cloud Functions .

Read more

How do you deploy a cloud function?

Deployment. Deployments work by uploading an archive containing your function’s source code to a Cloud Storage bucket . Once the source code has been uploaded, Cloud Build automatically builds your code into a container image and pushes that image to either Artifact Registry or Container Registry.

Read more