Skip to content
Discussion options

You must be logged in to vote

There is no CLI command to create symlink in Yarn 2, but this behaviour is still supported. You can use link: protocol to achieve this behaviour:
https://yarnpkg.com/features/protocols
package.json

{
  "dependencies": {
    "my-package": "link:../relative/path/to/my-package"
  }
}

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@r1y4h
Comment options

@merceyz
Comment options

merceyz Sep 9, 2021
Collaborator

@r1y4h
Comment options

@merceyz
Comment options

merceyz Sep 9, 2021
Collaborator

@r1y4h
Comment options

Answer selected by RuBAN-GT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants