Home

How to Use PNPM in Netlify Build

PNPM is now natively supported by Netlify.

PNPM is a great, performance-focused option for monorepos. It serves as an alternative to NPM or Yarn.

When originally writing this article, I had run into a problem after switching to PNPM and trying to deploy this site to Netlify. PNPM was not fully supported by Netlify and required workarounds that effectively disabled NPM.

Fortunately, things have changed, and PNPM now works seamlessly with Netlify.

netlify.toml

[build]
command = "pnpm run build"

Let's Connect

Keep Reading

WTF is PNPM?

Is PNPM just NPM with another P? Yes. But also, no.

Mar 09, 2021

WTF is a Monorepo?

Have you heard this term thrown around but not really sure what it means. Well, let's take a quick introductory look at it.

Mar 09, 2021

WTF is NPM?

A brief description of NPM.

Jun 29, 2020