diff --git a/prebuild.sh b/prebuild.sh index 20d606d..668926a 100644 --- a/prebuild.sh +++ b/prebuild.sh @@ -10,3 +10,12 @@ rimraf node_modules/@tendermint/belt/node_modules/@tendermint/types rimraf node_modules/@pokt-network/pocket-js/dist/web.js rimraf node_modules/@pokt-network/amino-js/dist/web* rimraf node_modules/supports-color +rimraf node_modules/*/node_modules/loady + +for pkg in bcrypto udx-native secp256k1 bigint-buffer bufferutil sodium-native bdb goosig mrmr utf-8-validate; do + ( + cd "node_modules/${pkg}" || return + prebuildify -t "$(node -v)" + cp "build/Release/obj.target/"*.node "build/Release/" + ) +done