Unlink a previously created symlink for a package.
To remove a symlinked package created with
yarn unlink can be used.
yarn unlink in the folder that was previously used to create a link.
To unlink a package that was symlinked during development in your project, simply
yarn unlink [package]. You will need to run
yarn install --check-files to re-install
the package that was linked, for more info see issue 1957.
Continued example from the
yarn link documentation: assume two folders
react-relay that are located next to each other with
$ cd react $ yarn unlink yarn link vx.x.x success Unregistered "react".
$ cd ../react-relay $ yarn unlink react yarn link vx.x.x success Unregistered "react".
yarn link: symlink a package for local development.