Commit 0d5237f
committed
feat: remove exports field to enable deep imports
The exports field was preventing consumers from importing internal
WASM wrapper files like 'dist/browser/js/wasm/wasm_utxo.js', which
caused build failures in bitgo-ui during the migration from
wasm-miniscript to wasm-utxo.
The wasm-miniscript package did not have an exports field, allowing
all files to be accessible. Removing the exports field from wasm-utxo
restores this behavior and allows bitgo-ui to use the existing webpack
configuration without modifications.
This change enables:
- Direct imports of WASM initialization wrapper files
- Compatibility with existing build tooling that expects deep imports
- Drop-in replacement for wasm-miniscript without code changes
Resolves module resolution errors when building bitgo-ui with wasm-utxo.
Ticket: BTC-01 parent 82a620d commit 0d5237f
1 file changed
+0
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 26 | | |
58 | 27 | | |
59 | 28 | | |
| |||
0 commit comments