4 ms·
The .pnp.js file can be checked-in, but needs the cache to work. Right now I'd advise not to check-it in. `yarn unplug` will eject a dependency from the cache
by arcatek 8y ago
The .pnp.js file can be checked-in, but needs the cache to work. Right now I'd advise not to check-it in.
`yarn unplug` will eject a dependency from the cache and put it into the project folder. That's a quick and easy way to inspect and debug libraries you use.
- w4tson 8y agoJust curious, why not?
- arcatek 8y agoIt doesn't have a lot of advantages right now. That said, it won't stay true forever. PnP is but the first step of a long-term goal I have. Check the Section 6.B from the whitepaper[1] for more details. [1] https://github.com/yarnpkg/rfcs/blob/65b36475c04b1149eb51a81875bad9b853e113fb/accepted/0000-plug-an-play.md#b-tarball-unpacking https://github.com/yarnpkg/rfcs/blob/65b36475c04b1149eb51a81...