Created
June 17, 2019 22:29
-
-
Save toddwseattle/119fb962d072a1ca8e83e4d210405435 to your computer and use it in GitHub Desktop.
Example firebase.json for use with nx.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"functions": { | |
"source": "/", | |
"predeploy": ["npm run build functions"] | |
}, | |
"hosting": { | |
"public": "dist/apps/angapp", | |
"ignore": ["firebase.json", "**/node_modules/**"], | |
"rewrites": [{ "source": "**", "destination": "/index.html" }] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample firebase.json to use with nx; assumes you have an angular app in the location "angapp" and you generate a node app in "functions" for your firebase functions.