deploy web app to firebase code example
Example 1: deploying angular app to firebase
{
"hosting": {
"public": "dist/your_application_name",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Example 2: firebase deploy
firebase deploy --project [project-name]