Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Use Node module resolution algorithm #36

Open
mmiller42 opened this issue Apr 9, 2018 · 1 comment
Open

Use Node module resolution algorithm #36

mmiller42 opened this issue Apr 9, 2018 · 1 comment

Comments

@mmiller42
Copy link
Owner

Currently paths are manually resolved relative to the node_modules directory in the project root. This doesn’t work when the module is installed in the parent directory, which might be the case in instances such as Yarn’s workspace configuration for monorepos. Infer the module’s location instead via the resolution algorithm which traverses up the directory tree.

@gavinxgu
Copy link

Hi, do you have a plan to support this feature?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants