deploy host angular 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: update angular website firebase
$ ng build --prod
$ firebase login
$ firebase deploy