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

Add .gitattributes #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tangrufus
Copy link

Reduce file size when composer install with --prefer-dist flag.

Reduce file size when `composer install` with `--prefer-dist` flag.
@mnapoli
Copy link
Member

mnapoli commented Apr 3, 2017

Hi, thanks for the PR. Do you have an idea of what would be saved? Tagging a new version of this repository just for that seems overkill honestly.

@tangrufus
Copy link
Author

tangrufus commented Apr 3, 2017

Only these files will be installed:

  • composer.json
  • LICENSE
  • src/*

These files will be ignored:

  • docs/*
  • README.md

Total size after unzip

Before 96KB
After 3KB

@Potherca
Copy link

Potherca commented Apr 5, 2018

Having a version 1.2.1 for this shouldn't be a problem, or am I missing something?

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.

None yet

3 participants