re: Introducing Yarn 2 ! 🧢🌟 VIEW POST


Does "readonly packages" mean that if I'm debugging, I can't hop into the source code of a given node_module and tinker with the code directly?


Readonly only as far as Node is concerned (ie you won't be able to writeFile directly into it). You can still use Emacs or Vim to open and edit the archives, and there is hope that VSCode will follow suite. And finally, you'll always be able to run yarn unplug <name> and the given package will be put into .yarn/unplugged where you can edit it to your heart's content.

Code of Conduct Report abuse