Created
August 19, 2019 11:25
-
-
Save hatakancicek/cec11e843f77d5a088f4fc7c642e4e88 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