Skip to content

Commit

Permalink
[Web] Fix missing RNRenderer export (#6265) (#6266)
Browse files Browse the repository at this point in the history
## Summary

Fixes #6265 

## Test plan

Applications using reanimated should build properly using bundlers that
use ESM - e.g. Vite.
  • Loading branch information
lkinasiewicz authored Jul 15, 2024
1 parent 49f6e37 commit caa39c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict';
// RNRender is not used for web. An export is still defined to eliminate warnings from bundlers such as esbuild.
export {};
const RNRenderer = {};
export { RNRenderer };

0 comments on commit caa39c2

Please sign in to comment.