angular ng build and deploy firebase code example
Example 1: add firebase angular
npm install firebase @angular/fire
Example 2: deploying angular app to firebase
{
"hosting": {
"public": "dist/your_application_name",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}