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

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 ...

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.

None yet

2 participants