TIL Mono Repo best practices
POSTED ON:
TAGS: git
In a monorepo, there's a lot of architectural decisions.
(A monorepo is a single repo that houses many projects. For example - Google, Facebook, Microsoft, Uber, Airbnb, and Twitter uses a monorepo, with varying strategies to manage it.)
One major decision:
Do you compile each repo and leave the dist
?
Or do you have the user compiled it themselves?
Within a monorepo, the best use case in the former.
But for CodePen, they have a single build system that compiles everything so they don't have multiple webpack configs.
Related TILs
Tagged: git