Using pnpm and Netlify

Published: Aug 28 Β· 1 min read

πŸ˜€
πŸ˜€πŸš€πŸ€£πŸ‘πŸ₯³β™₯οΈπŸ‘€πŸ‘Ž

If you are using pnpm you’re netlify build command will need to look like this: If you are using pnpm you’re netlify build command will need to look like this:

toml
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"