Skip to content
New issue

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

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

Already on GitHub? # to your account

adding intersection of require calls #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

g-i-o-
Copy link

@g-i-o- g-i-o- commented Aug 23, 2015

These changes should allow intersection of require calls in the module. The require function gets substituted with one that delegates calls to either a custom function, or one that uses an object as a path ->module map.

I have included some test code, and a line in the readme talking about the feature.

@jhnns
Copy link
Owner

jhnns commented Aug 25, 2015

Thank you for your detailed PR (with tests and docs 👍). I'm definitely willing to merge this as it was already requested several times ( #24 #44 #68 ).

One problem I see, though, is that it needs to be implemented for rewire-webpack as well. I would like users to be able to use rewire features also with webpack without needing to care about which feature is supported.

I need some time to implement it ...

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

Successfully merging this pull request may close these issues.

2 participants