Barrel files?

Is it worth migrating a Next.js repo off of barrel files? I don't think they should impact bundle size from what I've read as long as you have sideEffects: false, in package.json. But if there's edge cases where they do, this would be a good reason. The main reason I can find is build time, dev build time, and test time as well as maintainability of the extra code.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server