Created
July 2, 2019 16:42
-
-
Save evdama/ee10d52778f8039f5bd821727805b408 to your computer and use it in GitHub Desktop.
serving static via firebase hosting
This file contains 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": { | |
"predeploy": [ | |
"node predeploy.js" | |
], | |
"source": "functions" | |
}, | |
"firestore": { | |
"rules": "config/firestore.rules", | |
"indexes": "config/firestore.indexes.json" | |
}, | |
"hosting": { | |
"public": "static", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**", | |
"./__sapper__", | |
"./src" | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"function": "ssr" | |
} | |
] | |
}, | |
"storage": { | |
"rules": "config/storage.rules" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment