Removing Barrel Files Saved 2.6 MB and Boosted Code Splitting at Medal
Medal’s frontend team cut 2.6 MB from their bundle by deleting a single component barrel file, then instituted a no‑barrel‑file policy. The change sharpened code‑splitting, lowered load times, and forced developers onto a new design system via a custom ESLint rule. The result: faster releases and a cleaner codebase.