Skip to content

Commit aef2c99

Browse files
committed
ci: fix firebase config to work with latest firebase-tools
1 parent 9c80584 commit aef2c99

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

etc/cli.angular.io/.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "cli-angular-io"
4+
}
5+
}

etc/cli.angular.io/firebase.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
{
2-
"firebase": "cli-angular-io",
3-
"public": "www",
4-
"ignore": [
5-
"firebase.json",
6-
"**/.*"
7-
]
2+
"hosting": {
3+
"public": "",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*"
7+
],
8+
"rewrites": [
9+
{
10+
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
11+
"destination": "/index.html"
12+
}
13+
]
14+
}
815
}
9-

0 commit comments

Comments
 (0)