createReactNativeComponentClass needs to be CommonJS
oops
Sebastian Markbåge committed
Apr 9, 2018 at 20:41 UTC
52afbe0ebb6fca0fe480e77c6fa8482870ddb2c9
1 file changed
+1
-1
scripts/rollup/shims/react-native/createReactNativeComponentClass.js
+1
-1
@@ -29,4 +29,4 @@ const createReactNativeComponentClass = function(
29
return register(name, callback);
30
};
31
32
-export default createReactNativeComponentClass;
32
+module.exports = createReactNativeComponentClass;