These are chat archives for systemjs/systemjs
Hey, I come seeking wisdom on module dependency mocking/stubbing with SystemJS. My preferred method of doing this is similar to how rewire or proxyquire handles it. It is the one uncertainty that inhibits me switching from webpack. I notice that there is some chatter about this already.
@kkruit Way back in May you had a (seemingly) unanswered question on options for stub/mocking dependencies with the SystemJS. Did you find a solution?
@guybedford, @johnman earlier this month you two briefly discussed techniques for swapping out dependencies. johnman: have you developed any workable patterns for doing this? guybedford: is documenting this still on your radar?
@loganfsmyth a few days ago you were talking about wrapping modules which seems to be potentially related; overriding exports during testing. Since it was mentioned that your goals may be better as a babel plugin: it let me to discover babel-plugin-rewire