Barrel Files (`index.ts`): Why One Import Can Slow Your BuildA barrel re-exports a whole folder. Tree shaking may still drop unused code, but the bundler often walks every file behind that index first.Nov 16, 20265 min read