- Yarn 4.0.0-rc.23: 2+ minutes (constant yarn cache is preserved between lock changes: cache saved in .next/cache/yarn)
- Pnpm 7.13.x: 4+ mins (cold cache) / 3+ minutes (warm cache)
PS: add
NEXT_DEBUG_FUNCTION_SIZE
=1 in the vercel envs/
ỳarn install --immutable
vs pnpm install --frozen-lockfile --strict-peer-dependencies --prefer-offline
-
Yarn Preview: https://monorepo-nextjs-656dfkwyv-belgattitude.vercel.app/
-
Yarn Log: https://vercel.com/belgattitude/monorepo-nextjs-app/61Nh7xo7Ds5QbSAYP2iomzStmHxh
-
Pnpm Preview: https://monorepo-nextjs-5gq76fwfo-belgattitude.vercel.app/
-
Pnpm Log: https://vercel.com/belgattitude/monorepo-nextjs-app/ABCQBYw1RfQvTB7y7w5c19LFYqXk
Override command: YARN_CACHE_FOLDER=./.next/cache/yarn yarn install --immutable --inline-builds
Override command: pnpm i --frozen-lockfile
Override command: pnpm install --frozen-lockfile --strict-peer-dependencies --no-optional --prefer-offline
ỳarn install --immutable
vs pnpm install --frozen-lock-file --strict-peer-dependencies --no-optional