Created
November 24, 2019 19:55
-
-
Save hatakancicek/603ce4a56a715a2f3510b3ae6340e7d0 to your computer and use it in GitHub Desktop.
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": { | |
"predeploy": "yarn clean && yarn build:app && yarn build:functions && yarn copy:deps && yarn copy:pages", | |
"source": "dist/functions" | |
}, | |
"hosting": { | |
"predeploy": "yarn copy:next && yarn copy:static", | |
"public": "dist/public", | |
"rewrites": [ | |
{ | |
"source": "/", | |
"function": "index" | |
} | |
], | |
"headers": [ | |
{ | |
"source": "**/*.@(jpg|jpeg|gif|png|svg|css|js|woff2|webp)", | |
"headers": [ | |
{ | |
"key": "Cache-Control", | |
"value": "max-age=31536000" | |
} | |
] | |
} | |
], | |
"cleanUrls": true, | |
"trailingSlash": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment