You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's good practice to remove all but the strictly necessary files for production use from releases, this can typically substantially reduce the disk size (which is important for containerized apps), but it's all good hygiene practice.
The text was updated successfully, but these errors were encountered:
✨ Feature request
Exclude all but the necessary files from the released package using
.gitattributes
Motivation
It removes all but production files from the released package.
Example
https://github.com/symfony/config/blob/7.0/.gitattributes
Alternatives
The unnecessary files stay in the package.
Additional context
It's good practice to remove all but the strictly necessary files for production use from releases, this can typically substantially reduce the disk size (which is important for containerized apps), but it's all good hygiene practice.
The text was updated successfully, but these errors were encountered: