Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect the difference between "root directory" and "project root" #5

Open
simonwiles opened this issue Nov 16, 2020 · 0 comments
Open

Comments

@simonwiles
Copy link
Owner

simonwiles commented Nov 16, 2020

See https://v2.parceljs.org/features/module-resolution/.

Parcel resolves dependencies relative to the project root which is derived from (but not necessarily the same as) the root directory. The current resolution algorithm, copied from ABuffSeagull/eslint-import-resolver-parcel, resolves relative to the root directory, which could technically be incorrect, I think. Need to come up with a test case.

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

No branches or pull requests

1 participant