-
Hi everyone, I have a simple scenario to create a symlink from node_modules to specific npm package directory as it works with Does somebody advice how to link packages as it was early? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
There is no CLI command to create symlink in Yarn 2, but this behaviour is still supported. You can use {
"dependencies": {
"my-package": "link:../relative/path/to/my-package"
}
} |
Beta Was this translation helpful? Give feedback.
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