Skip to content

Commit 6a59bc9

Browse files
author
Your Name
committed
Angular Universal Course
1 parent 5c37108 commit 6a59bc9

File tree

7 files changed

+4940
-939
lines changed

7 files changed

+4940
-939
lines changed

.angular-cli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"root": "src",
33-
"outDir": "dist-server",
33+
"outDir": "functions/lib",
3434
"assets": [
3535
"assets",
3636
"favicon.ico"

.firebaserc

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

firebase.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"hosting": {
3+
"public": "dist",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**"
8+
],
9+
"rewrites": [
10+
{
11+
"source": "**",
12+
"function": "ssrApp"
13+
}
14+
]
15+
},
16+
"functions": {
17+
"predeploy": "npm --prefix \"$RESOURCE_DIR\" run build"
18+
}
19+
}

0 commit comments

Comments
 (0)