Skip to content

Conversation

@kricsleo
Copy link

resolves #185

This PR changes the require from dynamic variables to static strings to avoid bundle issues.

It shouldn't affect runtime behavior, so it should be safe to merge ❤️

@penberg
Copy link
Contributor

penberg commented Jun 13, 2025

PR obsoleted by #182. I wonder if napi-rs packaging already solves this?

@penberg penberg closed this Jun 13, 2025
@kricsleo
Copy link
Author

I wonder if napi-rs packaging already solves this?

Yes, since all require(...) calls use static strings (e.g., require('libsql-android-arm64')), this issue is resolved 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic variables in require prevents correct dependency analysis

2 participants