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

fix: npm package name resolution when using require with file paths from npm modules. #147

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

livinNector
Copy link

To get npm package names for installing during first time from require statements with file paths.

Example

require('mathjax-full/es5/tex-svg.js')

Copy link
Owner

@extremeheat extremeheat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@extremeheat
Copy link
Owner

This actually could cause problems with scoped packages

https://docs.npmjs.com/about-scopes

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

Successfully merging this pull request may close these issues.

2 participants