From ec618be566db5c4e8e563f3cf07a6f261ed1f587 Mon Sep 17 00:00:00 2001 From: Vadorequest Date: Thu, 10 Jun 2021 10:35:59 +0200 Subject: [PATCH] Optimize .vercelignore configuration (from #366, modified) --- .vercelignore | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.vercelignore b/.vercelignore index bb18cd833..4ace5e5de 100644 --- a/.vercelignore +++ b/.vercelignore @@ -1,18 +1,23 @@ # Optimize speed/size of deployments by not uploading those files .idea/ +.github/ node_modules/ cypress/ +docs/ coverage/ +scripts/ +svg-to-react/ .codeclimate.yml .editorconfig -.env.build.example +.env* .graphqlconfig -buildspec.yml -README.md +.hybrid-cache-*.cache +.jest-test-results.json +*.md +LICENSE schema.graphql -yarn.lock yarn-error.log -# Avoid tests being deployed as Vercel Serverless Functions (increases bundle size, and count towards limits) +# Avoid tests being deployed as Vercel Serverless Functions (they would increase bundle size, and count towards Vercel's limits) src/pages/api/*.test.ts src/pages/api/**/*.test.ts