Skip to content

Commit 101cb72

Browse files
Merge pull request #55 from contentstack/CL-1884
fix: exclude .git folder when generating the zip file for deploying File Upload projects
2 parents f61324c + faa10d6 commit 101cb72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariablePreparationTypeOptions } from "../types";
1+
import { VariablePreparationTypeOptions } from '../types';
22

33
const config = {
44
maxRetryCount: 3,
@@ -7,7 +7,7 @@ const config = {
77
manageApiEndpoint: 'manage/graphql',
88
projectCreationRetryMaxCount: 3,
99
fileUploadConfig: {
10-
exclude: ['logs', '.next', 'node_modules', '.cs-launch.json'],
10+
exclude: ['logs', '.next', 'node_modules', '.cs-launch.json', '.git', '.env', '.env.local', '.vscode'],
1111
},
1212
outputDirectories: {
1313
GATSBY: './public',

0 commit comments

Comments
 (0)