Song's Blog

Should a Library in a Monorepo Be Buildable or Not?

Cover for Should a Library in a Monorepo Be Buildable or Not?
January 27, 2022
#monorepo#architecture
  • Advantages of Buildable Libraries
  • Improved Build Efficiency
  • Clear Dependency Management
  • Independence and Reusability
  • Simplified CI/CD
  • Disadvantages of Buildable Libraries
  • Increased Initial Complexity
  • Potential Redundancy
  • Reduced Development Experience
  • Advantages of Non-Buildable Libraries
  • Simpler Setup
  • Faster Iteration During Development
  • Avoiding Redundant Build Artifacts
  • Disadvantages of Non-Buildable Libraries
  • Build Efficiency Issues
  • Increased Dependency Coupling
  • Limited Publishing Capabilities
  • Recommendations
Hi, I'm Zhumei Song
Software Engineer based in Tokyo. 🇯🇵
LinkedinGitHubBlog
© 2025