Deploying To Firebase Hosting
"predeploy": ["npm --prefix \"$RESOURCE_DIR/..\" run build"]{
"functions": {
"predeploy": ["npm --prefix \"$RESOURCE_DIR/..\" run build"]
},
"hosting": {
"public": "build",
"predeploy": ["npm --prefix \"$RESOURCE_DIR/..\" run build"]
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**",
"**/functions/**",
"**/public/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}Restricted to one "project" setup with multiple apps?

Authorisation
A complete example of the Firebase JSON with hosting only
Last updated
Was this helpful?