Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit a0f8b5f

Browse files
committed
feat: add ng deploy for Firebase
add Firebase performance set up Firebase dynamic links in hosting config
1 parent 9aec018 commit a0f8b5f

File tree

8 files changed

+2430
-139
lines changed

8 files changed

+2430
-139
lines changed

.firebaserc

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"projects": {
33
"default": "devintent-dev"
4+
},
5+
"targets": {
6+
"devintent-dev": {
7+
"hosting": {
8+
"dev-demo": [
9+
"devintent-dev"
10+
]
11+
}
12+
}
413
}
5-
}
14+
}

angular.json

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@
104104
"**/node_modules/**"
105105
]
106106
}
107+
},
108+
"deploy": {
109+
"builder": "@angular/fire:deploy",
110+
"options": {}
107111
}
108112
}
109113
},

firebase.json

+22-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
{
2-
"hosting": {
3-
"public": "dist/dev-demo",
4-
"ignore": [
5-
"firebase.json",
6-
"**/.*",
7-
"**/node_modules/**"
8-
],
9-
"rewrites": [
10-
{
11-
"source": "**",
12-
"destination": "/index.html"
13-
}
14-
]
15-
}
2+
"hosting": [
3+
{
4+
"target": "dev-demo",
5+
"public": "dist/dev-demo",
6+
"ignore": [
7+
"firebase.json",
8+
"**/.*",
9+
"**/node_modules/**"
10+
],
11+
"appAssociation": "AUTO",
12+
"rewrites": [
13+
{
14+
"source": "/l/**",
15+
"dynamicLinks": true
16+
},
17+
{
18+
"source": "**",
19+
"destination": "/index.html"
20+
}
21+
]
22+
}
23+
]
1624
}

0 commit comments

Comments
 (0)