Skip to content

Instantly share code, notes, and snippets.

@evdama
Created July 2, 2019 16:42
Show Gist options
  • Save evdama/ee10d52778f8039f5bd821727805b408 to your computer and use it in GitHub Desktop.
Save evdama/ee10d52778f8039f5bd821727805b408 to your computer and use it in GitHub Desktop.
serving static via firebase hosting
{
"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