When the plugin is installed, a bunch of unnecessary dev files (like tests) are also included:
That's a waste because those files essentially do nothing in production. Read this reddit post for more info, but the essence is - use a .gitattributes file to ignore files from the final published package archive. Packagist also respects it. Here's how I did it in the Kirby Git plugin.
Please, make it so the downloaded package contains only mandatory files.
When the plugin is installed, a bunch of unnecessary dev files (like tests) are also included:
That's a waste because those files essentially do nothing in production. Read this reddit post for more info, but the essence is - use a
.gitattributes
file to ignore files from the final published package archive. Packagist also respects it. Here's how I did it in the Kirby Git plugin.Please, make it so the downloaded package contains only mandatory files.