We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78eac6e commit f8409fdCopy full SHA for f8409fd
1 file changed
packages/react-native/vendor/BlobManager.js
@@ -16,4 +16,12 @@
16
const BlobManager = require('react-native/Libraries/Blob/BlobManager');
17
const interop = (mod) => (mod && mod.__esModule ? mod.default : mod);
18
19
-module.exports = interop(BlobManager);
+/**
20
+ * Using an ESM export here is important. Rollup compiles this to
21
+ * ```javascript
22
+ * const BlobManager = require('react-native/Libraries/Blob/BlobManager');
23
+ * const interop = (mod) => (mod && mod.__esModule ? mod.default : mod);
24
+ * var BlobManager$1 = interop(BlobManager);
25
+ * ```
26
+ */
27
+export default interop(BlobManager);
0 commit comments