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.
yarn unlink [package]
To unlink a package that was symlinked during development in your project, simply run
yarn unlink [package]. You will need to run
yarn install to re-install the package that was linked.
Continued example from the
yarn link documentation: assume two folders
react-relay that are located next to each other with
react linked into the
$ 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.
© 2016–present Yarn Contributors
Licensed under the BSD License.