WordPress / gutenberg-examples

Examples for extending WordPress/Gutenberg with blocks.
1.2k stars 316 forks source link

Remove build directories #211

Closed ryanwelcher closed 2 years ago

ryanwelcher commented 2 years ago

I propose that we remove the build directories for each of the examples from version control for the following reasons:

  1. 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.
  2. Currently, we are manually generating the .zip archive for releases so running the build command can be part of that process
  3. 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
  4. Chances are that most folks checking this repo out, will be running the start command immediately so these files will be overwritten anyway.