Closed dtothefp closed 7 years ago
@dtothefp Sorry for the late reply. Unfortunately this is not a case for babel-plugin-rewire.
The reason is that Parent is already bound to the imported class when Child is declared. If you want to rewire the superclass you have to export a factory function.
Doesn't seem possible to do:
then rewire
Am I missing something or is this just not a use case for Rewire?