This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Allow user to provide a custom module resolution #4215
rdsedmundo
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The best solution would be to allow the user to provide an arbitrary module with a known interface, so the resolution can be completely customized instead of just supporting something like path aliases—although I'm not sure how this would plug-in with Rust, so perhaps starting with path aliases would be easier.
Related to #1555.
Example use case: allow
@to resolve to the closestpackage.json, so we can have absolute path resolution across all monorepo packages.Beta Was this translation helpful? Give feedback.
All reactions