Home  >  Article  >  Web Front-end  >  You probably don&#t need a monorepo

You probably don&#t need a monorepo

WBOY
WBOYOriginal
2024-08-26 21:48:07507browse

You probably don

If you have several npm packages inside the same "monorepo", you and your users would probably be better off if this was one big coherent package instead.

  1. A lot of bookkeeping and administrative tasks just disappear.
  2. Three shaking removes unused code either way.
  3. Unhealthy dependencies between each package is impossible, because everything is just one single dependency.

Instead of "monorepo", consider a monolith instead. That is, one huge application. It solves the same "issues", but with a lot less administration between the teams sharing the components.

The above is the detailed content of You probably don&#t need a monorepo. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn