Skip to content

Commit

Permalink
Fix typo in pnp docs (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesius authored and arcanis committed Jan 8, 2020
1 parent de8a7a3 commit aaf24b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/content/features/plugnplay.md
Expand Up @@ -26,7 +26,7 @@ When you think about it, Yarn already knows everything about your dependency tre

In this install mode (now the default starting from Yarn v2), Yarn generates a single `.pnp.js` file instead of the usual `node_modules`. Instead of containing the source code of the installed packages, the `.pnp.js` file contains a map linking a package name and version to a location on the disk, and another map linking a package name and version to its set of dependencies. Thanks to this efficient system, Node can directly know where to look for files being required - regardless of who asks for them!

This approach as various benefits:
This approach has various benefits:

- Since we only need to generate a single text file instead of tens of thousands, installs are now pretty much instantaneous - the main bottleneck becomes the number of dependencies in your project rather than your disk performances.

Expand Down

0 comments on commit aaf24b9

Please sign in to comment.