Quick answer
TL;DR
| What I expected | More files = more per-file overhead = a larger bundle. A cost worth paying for maintainability. |
| Outcome | A 20-30% reduction on affected assets once the unrelated image additions were excluded |
| Developer experience | 19 independently editable files replaced one shared blast radius - edit a field type without risking the rest |
| Plugin context | PostX, WordPress Gutenberg plugin, 60,000+ active sites |
The setup
Why I expected the bundle to grow
The measurement that was wrong
What re-measuring showed
The developer experience gain
FAQ
Part of the PostX frontend refactoring case study series →