Skip to content

Fix native binding loading in Bun compile#108

Merged
sqdshguy merged 1 commit intomasterfrom
fix-bun-compile-native-binding
Mar 18, 2026
Merged

Fix native binding loading in Bun compile#108
sqdshguy merged 1 commit intomasterfrom
fix-bun-compile-native-binding

Conversation

@sqdshguy
Copy link
Copy Markdown
Owner

Fix native binding loading in Bun compile

Use static native addon requires and point Bun to the CJS build so bun build --compile can load wreq-js correctly

Fixes #107

@sqdshguy sqdshguy force-pushed the fix-bun-compile-native-binding branch from e792587 to f6757fd Compare March 18, 2026 15:52
@sqdshguy sqdshguy merged commit 4e86ba0 into master Mar 18, 2026
6 checks passed
@sqdshguy sqdshguy deleted the fix-bun-compile-native-binding branch March 18, 2026 16:01
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.

Native module fails to load with Bun --compile

1 participant