1. 1
    WTF is Yarn Plug'n'Play (PnP)?
    2m 9s

WTF is Yarn Plug'n'Play (PnP)?

Ian Jones
InstructorIan Jones

Share this video with your friends

Send Tweet

Yarn PnP is a new feature set on by default with yarn 2. PnP gets rid of your projects node_modules in favor of a .pnp.js file.

This .pnp.js file maps all of the packages installed in your project to where Yarn has placed them on your disk. This enables faster, more reliable installs because you don't have to write to disk as often.