-
I use a similar pattern from the webpack documentation so that I can traverse my components like modules. Instead of using ../../../path/to/component. I just do path/to/component. I am using yarn@latest and hoping to migrate to Plug n Play (pnp). I am wondering if there is a way to migrate this configuration so I can still take advantage of it. Possibly a way to require.resolve all modules?
|
Beta Was this translation helpful? Give feedback.
Answered by
arcanis
Feb 25, 2022
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
qhenkart
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cf https://yarnpkg.com/features/protocols#why-is-the-link-protocol-recommended-over-aliases-for-path-mapping