From faa10d625d4219a1d5e3114f837c28d50e379d08 Mon Sep 17 00:00:00 2001 From: dhruvparekh12 Date: Tue, 10 Jun 2025 22:09:10 +0530 Subject: [PATCH] fix: exclude .git folder when generating the zip file for deploying File Upload projects --- src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index dccf7e9..d615306 100755 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,4 +1,4 @@ -import { VariablePreparationTypeOptions } from "../types"; +import { VariablePreparationTypeOptions } from '../types'; const config = { maxRetryCount: 3, @@ -7,7 +7,7 @@ const config = { manageApiEndpoint: 'manage/graphql', projectCreationRetryMaxCount: 3, fileUploadConfig: { - exclude: ['logs', '.next', 'node_modules', '.cs-launch.json'], + exclude: ['logs', '.next', 'node_modules', '.cs-launch.json', '.git', '.env', '.env.local', '.vscode'], }, outputDirectories: { GATSBY: './public',