Skip to content

🎉 Add resolution to index.js for react-native environment#4

Merged
LinusU merged 1 commit intonode-gfx:masterfrom
vasu2001:feat/react-native
Oct 14, 2025
Merged

🎉 Add resolution to index.js for react-native environment#4
LinusU merged 1 commit intonode-gfx:masterfrom
vasu2001:feat/react-native

Conversation

@vasu2001
Copy link
Copy Markdown
Contributor

On react-native environments, the module resolution was picking from browser, which throws an error since ImageData is not implicitly present there.

Adding a resolution to index.js for react-native specific bundlers

@LinusU LinusU changed the title feat: added resolution to index.js for react-native environment Oct 14, 2025
@LinusU LinusU merged commit 39a5d57 into node-gfx:master Oct 14, 2025
@LinusU
Copy link
Copy Markdown
Contributor

LinusU commented Oct 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants