Faster builds with npm workspaces

Netlify is now caching npm workspaces. If your site uses npm workspaces, your builds should be faster! :rocket:

This is automatically enabled. No configuration is needed except for ensuring that your top-level package.json includes a private: true field.

This feature adds to Netlify’s first-class support for monorepos, which already includes caching for Yarn workspaces.

3 Likes

What about pnpm workspaces?

Hey there, @terrabit :wave:

If you can tell me a bit more about why pnpm would be beneficial for you I will send your feedback to our Product team. Let me know!