You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.
In 0.2.3, there's a check if typeof module.exports === 'object' before injecting.
In some of my codes, typeof module === 'object' but typeof module.exports === 'function'
so __get__ and __set__ never gets injected
The text was updated successfully, but these errors were encountered:
I've also encountered this issue. This changes breaks rewireify for anyone exporting a React component in a module, since React.createClass returns a function.
My team has reverted to 0.2.2 for now until this issue is resolved.
In 0.2.3, there's a check
if typeof module.exports === 'object'
before injecting.In some of my codes,
typeof module === 'object'
buttypeof module.exports === 'function'
so
__get__
and__set__
never gets injectedThe text was updated successfully, but these errors were encountered: