Skip to content

Commit

Permalink
feat: add predeploy hook for hosting in firebase.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Mar 19, 2018
1 parent 9686811 commit 8390f29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"functions": {
"predeploy": "npm --prefix \"$RESOURCE_DIR\" run build"
"predeploy": "npm --prefix \"$RESOURCE_DIR\" run build",
"source": "functions"
},
"hosting": {
"predeploy": "npm run ng build -prod",
"public": "dist",
"ignore": [
"firebase.json",
Expand Down

0 comments on commit 8390f29

Please sign in to comment.