Skip to content

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Nov 12, 2025

Add ./dist/browser/js/wasm/wasm_utxo_bg.js and wasm_utxo_bg.wasm to the exports field to allow webpack shims to import internal wasm modules directly. This resolves "Package path is not exported" errors when consuming this package in Next.js applications.

Also adds node variants for consistency.

Ticket: BTC-0

Add ./dist/browser/js/wasm/wasm_utxo_bg.js and wasm_utxo_bg.wasm
to the exports field to allow webpack shims to import internal wasm
modules directly. This resolves "Package path is not exported" errors
when consuming this package in Next.js applications.

Also adds node variants for consistency.

Ticket: BTC-0
@lcovar lcovar requested a review from a team as a code owner November 12, 2025 22:12
@lcovar lcovar merged commit ad821f2 into master Nov 12, 2025
1 check passed
@lcovar lcovar deleted the BTC-0-wasm-shim branch November 12, 2025 22:18
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.

3 participants