Great news-- Netlify now has support for pnpm out of the box!
What does this mean?
- pnpm is an alternative Node.js package manager that’s especially popular among developers working with monorepos. That means that you can share dependencies across projects, and when it comes time to update your files you only have to make changes within the package.
How can you use it?
- Using pnpm with Netlify requires only two steps!
- First, you’ll need to check in a
- When you
git pushNetlify will automatically detect the lock file and run
pnpm installfor you.
Please visit the docs to learn how to get started. Additionally, please visit our blog to learn more details about our implementation! If you have any follow up questions, please let us know in the comments below!