Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build types from source instead of generated files
This module copies everything into the `dist` folder then builds types from there. `multiformats` builds types from the source, then copies moves the `types` folder into `dist`. The latter seems more predictable and means things like mikeal/ipjs#14 don't trip it up. Also, doing `cp -a ... test/ dist/` instead of `cp -a ... test dist/` meant that the contents of the test folder was copied into `dist` rather than the test folder itself, which I guess was not intentional? Removing the trailing slash means you don't need the extra `cp` command to copy the examples folder afterwards.
- Loading branch information