robin-surge
robin-surge
For everyone having the same problem: You can use babel and babel-rewire-plugin. It sidesteps the issue (rewire is then handled by babel) and is a nice workaround to get unblocked.
For what, exactly? Using babel-rewire or for the issue described?
Its nothing special about what I did. I just used a different set of frameworks. Instead of going karma -> webpack -> webpack-rewire -> mocha/chai I now use karma ->...
My setup still uses webpack :)