I propose that we remove the build directories for each of the examples from version control for the following reasons:
Any minor change to the code base generates all new build files and makes unnecessarily large changesets that are cumbersome to review. See https://github.com/WordPress/gutenberg-examples/pull/207/ as an example. There are 22 changed files but only 4 of them are actual changes to the source code. As we add more examples, this problem will grow.
Currently, we are manually generating the .zip archive for releases so running the build command can be part of that process
We are planning to move towards using Actions to generate the .zip and part of that process would be to run the build command as part of the CI
Chances are that most folks checking this repo out, will be running the start command immediately so these files will be overwritten anyway.
I propose that we remove the
build
directories for each of the examples from version control for the following reasons:start
command immediately so these files will be overwritten anyway.