https://jeonghwan-kim.github.io/2023/10/20/pnpm
node_modules
- express
- cookie
- msw
- cookie
**node_modules**
express
debug
eslint
그러나 여전히 문제점이 존재.
같은 패키지라도 버전이 다를 경우에는 여전히 평탄화가 어렵고 중첩된 node_modules 구조를 유지해야함.
**node_modules**
express
debug
eslint
node_modules
cookie
평탄화 되면서 모듈 별로 의존하지 않는 패키지에 접근할 수가 있게 된다.
npm이나 yarn이 패키지 의존성을 분석해 평탄하게 만드는 것은 상당히 복잡한 알고리즘