Firebase does not currently perform any version control, so automatically ignoring files that have not been modified / not affected is not an option. However, in firebase.json, you can specify the files that should be ignored in the .ignore section.
I was looking for an additional manual option to specify on the command line when running firebase deploy , but doing this in the firebase.json file probably makes more sense if it is known that the file has not been modified or does not need to be reused. -deploying.
https://www.firebase.com/docs/hosting/guide/deploying.html
From the docs:
ignore
"ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ]
optional - the ignore option is an optional parameter since version 1.0.1 firebase-tools, which indicates the files that should be ignored during deployment. It can accept globe definitions in the same way that Git processes .gitignore.
Mandm
source share