Created
September 27, 2022 10:44
-
-
Save ezequieltejada/a5db9dc459499328c7e720c434fd3aae to your computer and use it in GitHub Desktop.
problem with deploy
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
{ | |
"firestore": { | |
"rules": "firestore.rules", | |
"indexes": "firestore.indexes.json" | |
}, | |
"functions": { | |
"predeploy": [ | |
"npm --prefix \"$RESOURCE_DIR\" run lint", | |
"npm --prefix \"$RESOURCE_DIR\" run build", | |
"npm --prefix \"$RESOURCE_DIR\" run predeploy" | |
], | |
"ignore": [ | |
"**.secret" | |
] | |
}, | |
"hosting": [ | |
{ | |
"target": "wame-pwa", | |
"public": "public", | |
"ignore": ["**/.*"], | |
"headers": [ | |
{ | |
"source": "*.[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].+(css|js)", | |
"headers": [ | |
{ | |
"key": "Cache-Control", | |
"value": "public,max-age=31536000,immutable" | |
} | |
] | |
}, | |
{ | |
"source": "/@(ngsw-worker.js|ngsw.json)", | |
"headers": [ | |
{ | |
"key": "Cache-Control", | |
"value": "no-cache" | |
} | |
] | |
} | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"destination": "/index.html" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment