0

As per https://firebase.google.com/docs/functions/handle-dependencies :

"If you are deploying through the Firebase CLI, the local node_modules folder is ignored, and you must specify your dependencies in package.json"

Thus, are the dependencies in the package.json installed on deploy in the hosting server?

Dmytro Rostopira
  • 10,588
  • 4
  • 64
  • 86
Divyansh Goenka
  • 997
  • 2
  • 12
  • 35

1 Answers1

0

Cloud Functions will effectively npm install after deployment to get a hold of all the dependencies for your code, as specified in package.json.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441