Commit 420b2dc
committed
fix(wasm-utxo): set rootDir in tsconfig to fix output directory structure
TypeScript was preserving the js/ source directory in the output, creating
dist/esm/js/index.js instead of dist/esm/index.js. Setting rootDir: './js'
ensures the compiled files are placed directly in the output directory.
This fixes the module resolution error in wasm-utxo-ui where webpack couldn't
find '@bitgo/wasm-utxo' because the expected export paths didn't match the
actual file locations.1 parent 0b361b9 commit 420b2dc
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments