Why My Next.js Client Bundle Was Bigger Than I Thought: Barrel Files, optimizePackageImports, and the 'use client' Boundary 733678
Headline: One 'use client' directive pulls that file's entire import graph into the browser bundle, and a barrel index.ts re-exporting two hundred modules is how that graph gets large without anyone n
engahmed.hashnode.dev10 min read