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

Add bower_components to list of module directories #526

Merged

Conversation

LarsDenBakker
Copy link
Contributor

@LarsDenBakker LarsDenBakker commented Jun 16, 2018

The resolve module only resolves modules from the node_modules directory. Adding bower_components to it let's us use modules with bower, and matches the behavior of tools like Typescript.

Fixes #521

@daKmoR
Copy link

daKmoR commented Jun 25, 2018

anyone got time to review this?

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

Easy fix, LGTM!

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

Successfully merging this pull request may close these issues.

Allow bare specifier imports from bower_components
4 participants