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

Node.js: wrong dependencies result #127

Open
extempl opened this issue May 2, 2020 · 0 comments
Open

Node.js: wrong dependencies result #127

extempl opened this issue May 2, 2020 · 0 comments

Comments

@extempl
Copy link
Contributor

@extempl extempl commented May 2, 2020

Although it doesn't break the process, it is not really correct to install the lib package as a dependency, when you found import LocalLib from "lib/LocalLib" string.

Not saying about the invalid "/lib": "latest" when the import path is absolute.

Also, (this is probably a different, yet, very related, request), I'd like to be able to include by name, so I use jsconfig.json, where I can set "rootDirs": ["./lib"] and then import LocalLib from "LocalLib" which currently lead to another error in the console about package Not found.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.