Make sure images are excluded from the Vercel build (#79)

This commit is contained in:
Jonah Lawrence 2022-10-08 20:56:54 -06:00 committed by GitHub
parent ddd4c70ced
commit 4710dfbd20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.vscode .vscode
.vercel .vercel
.env .env
.venv

View File

@ -1 +1,7 @@
.vscode
.vercel
.env
.venv
.github
images images

View File

@ -1,7 +1,8 @@
{ {
"functions": { "functions": {
"api/index.php": { "api/index.php": {
"runtime": "vercel-php@0.5.2" "runtime": "vercel-php@0.5.2",
"excludeFiles": "{images/**,.github/**}"
} }
}, },
"routes": [{ "src": "/(.*)", "dest": "/api/index.php" }], "routes": [{ "src": "/(.*)", "dest": "/api/index.php" }],