When the plugin is bundled with Core, the contents of .distignore are excluded from it.
However, when the plugin-only ZIP is generated in GitHub Actions using git archive -o, it has no such exclusions.
To add these exclusions, we can use a .gitattributes file with the same contents as .distignore, with each line ending with export-ignore.