Skip to content

Commit 24cdea1

Browse files
committed
chore(angular): updated hosting configuration
1 parent 4d526c2 commit 24cdea1

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

examples/angular/.firebaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"projects": {
3-
"default": "fir-ui-2025"
3+
"default": "fir-ui-rework"
44
}
55
}

examples/angular/firebase.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"hosting": {
3-
"site": "fir-ui-2025-angular",
3+
"site": "fir-ui-rework-angular",
44
"public": "dist/angular-ssr/browser",
5-
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
5+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
6+
"rewrites": [
7+
{
8+
"source": "**",
9+
"destination": "/index.html"
10+
}
11+
]
612
}
713
}

examples/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lint:fix": "eslint . --ext .ts --fix",
1919
"format": "prettier --write \"src/**/*.{ts,html,css,scss}\"",
2020
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\"",
21-
"deploy": "pnpm run build && firebase deploy --only hosting:fir-ui-2025-angular"
21+
"deploy": "pnpm run build && cp dist/angular-ssr/browser/index.csr.html dist/angular-ssr/browser/index.html && firebase deploy --only hosting:fir-ui-rework-angular"
2222
},
2323
"dependencies": {
2424
"@angular/animations": "^20.2.2",

0 commit comments

Comments
 (0)