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 requiring own dependencies #6

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Conversation

wmertens
Copy link
Contributor

When using a non-flat module structure, upper modules won't "see" the own dependencies.

When using a non-flat module structure, upper modules won't "see" the own dependencies.
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

We can also directly use require()

@aleclarson
Copy link

Fixes #5

@developit
Copy link
Member

I prefer to roll with require.resolve() as implemented here. That keeps the resolved preset values as strings, which is useful for those logging/inspecting/manipulating.

@developit developit merged commit 7afe042 into babel:master Nov 26, 2019
@wmertens
Copy link
Contributor Author

any chance of a release with this fix? 🙇

@developit
Copy link
Member

@wmertens apologies for the delay! 0.1.2 has been released with your fix. Thanks!

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.

6 participants