feat(alias): customResolver instead of built-in resolving algorithm#21
feat(alias): customResolver instead of built-in resolving algorithm#21shellscape merged 6 commits intorollup:masterfrom
Conversation
According to pnpm actual version and included packages
Allow to use customResolver instead of built-in resolving algorithm in
customResolver option
packages/alias/README.md
Outdated
| } | ||
| ] | ||
| }, | ||
| customResolver |
There was a problem hiding this comment.
this needs to be added to the ##Options and documented in the same fashion as the other options. you can then link to an expanded section like we did for the regular expressions. This section of the readme needs some error correction as well. Please give it another read through.
There was a problem hiding this comment.
@shellscape, please find changes in latest commit. Thanks for pointing on mistakes.
|
How about the suggestion to always use The advantage of directly using |
No worries, that's why PR was created before you have replied :) Hope you have had a nice trip.
It is a good idea to use I still think that |
We'll leave this open until you are ready to merge |
Agreed, I see there might be further use for this. In that case, I guess it makes more sense to merge this as it is and switch to using |
|
Note that @shellscape's review comment is still valid and should be addressed before this is merged. |
customResolver description
|
Hi, @shellscape, i've made changes according your comment. |
|
Thanks for your work on this. We'll release this soon. We don't have automation setup for this as yet so it will require a manual publish. |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
#14
Description
New feature related to my discussion with @lukastaegert.
customResolveroption allows to pass plugin or function to be used instead of built-in algorithm for files resolving. Most common expected usage - together withnode-resolveplugin.