Skip to content

Commit c8a23da

Browse files
committed
add hosting target
1 parent b70e1cb commit c8a23da

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

firebase.json

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,36 @@
33
"rules": "firestore.rules",
44
"indexes": "firestore.indexes.json"
55
},
6-
"hosting": {
7-
"public": "dist",
8-
"ignore": [
9-
"firebase.json",
10-
"**/.*",
11-
"**/node_modules/**"
12-
],
13-
"rewrites": [
14-
{
15-
"source": "**",
16-
"destination": "/index.html"
17-
}
18-
]
19-
}
20-
}
6+
"hosting": [
7+
{
8+
"target": "with",
9+
"public": "dist",
10+
"ignore": [
11+
"firebase.json",
12+
"**/.*",
13+
"**/node_modules/**"
14+
],
15+
"rewrites": [
16+
{
17+
"source": "**",
18+
"destination": "/index.html"
19+
}
20+
]
21+
},
22+
{
23+
"target": "without",
24+
"public": "dist",
25+
"ignore": [
26+
"firebase.json",
27+
"**/.*",
28+
"**/node_modules/**"
29+
],
30+
"rewrites": [
31+
{
32+
"source": "**",
33+
"destination": "/index.html"
34+
}
35+
]
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)