From 3ce52fdd22a7f3dc367a3c9e9117641168d7194a Mon Sep 17 00:00:00 2001 From: evanbacon Date: Tue, 25 Jun 2024 21:02:45 -0500 Subject: [PATCH 1/2] fix export --- .../src/platform-specific/RNRenderer.web.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts b/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts index 4aa97866d9b..4949e2fc7ea 100644 --- a/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts +++ b/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts @@ -1,3 +1,3 @@ -'use strict'; // RNRender is not used for web. An export is still defined to eliminate warnings from bundlers such as esbuild. -module.exports = null; + +export {}; \ No newline at end of file From 852546229712025a7e8cb13c58612252abe960be Mon Sep 17 00:00:00 2001 From: Evan Bacon Date: Thu, 27 Jun 2024 16:08:36 -0500 Subject: [PATCH 2/2] Update packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts --- .../src/platform-specific/RNRenderer.web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts b/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts index 4949e2fc7ea..034f7516a54 100644 --- a/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts +++ b/packages/react-native-reanimated/src/platform-specific/RNRenderer.web.ts @@ -1,3 +1,3 @@ // RNRender is not used for web. An export is still defined to eliminate warnings from bundlers such as esbuild. - +'use strict'; export {}; \ No newline at end of file