Skip to content

Commit 6891544

Browse files
authored
Merge pull request #99 from zzzhangqi/master
fix: optimize slug size
2 parents ddbaa7f + 2ecab8b commit 6891544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ sleep ${PAUSE:-0}
190190
## Produce slug
191191

192192
if [[ -f "$build_root/.slugignore" ]]; then
193-
tar -z --exclude='.git' --exclude='node_modules' -X "$build_root/.slugignore" -C $build_root -cf $slug_file .
193+
tar -z --exclude='.git' --exclude='node_modules' --exclude='.heroku' -X "$build_root/.slugignore" -C $build_root -cf $slug_file .
194194
else
195-
tar -z --exclude='.git' --exclude='node_modules' -C $build_root -cf $slug_file .
195+
tar -z --exclude='.git' --exclude='node_modules' --exclude='.heroku' -C $build_root -cf $slug_file .
196196
fi
197197

198198
if [[ "$slug_file" != "-" ]]; then

0 commit comments

Comments
 (0)