Commit 278ee57
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 c8df512 commit 278ee57
2 files changed
Lines changed: 2 additions & 0 deletions
| 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