Commit 82a620d
committed
feat: export wasm background files for direct import
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-01 parent e239dcc commit 82a620d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments