Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .gitattributes to decrease package installed size #407

Merged
merged 1 commit into from
Jun 4, 2022
Merged

Update .gitattributes to decrease package installed size #407

merged 1 commit into from
Jun 4, 2022

Conversation

lakuapik
Copy link
Contributor

@lakuapik lakuapik commented Jun 3, 2022

I notice the docs folder are include in the vendor dir.

image

So i made this PR to update the .gitattributes file to ignore more files/folder. I follow the laravel-permission .gitattributes template.

Before 1.2MB; After 41K.

image

@freekmurze freekmurze merged commit e0838c2 into spatie:main Jun 4, 2022
@freekmurze
Copy link
Member

Thanks!

@lakuapik lakuapik deleted the patch-1 branch June 4, 2022 03:10
@lakuapik
Copy link
Contributor Author

lakuapik commented Jun 4, 2022

@freekmurze will you accept PR for other spatie packages too? This one i just stumble across when i dig the source code.

@freekmurze
Copy link
Member

Yup, feel free to send PRs to other packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants