diff --git a/packages/wasm-dpp/scripts/build-js.sh b/packages/wasm-dpp/scripts/build-js.sh index 4635b8094f7..64fdeedb508 100755 --- a/packages/wasm-dpp/scripts/build-js.sh +++ b/packages/wasm-dpp/scripts/build-js.sh @@ -20,7 +20,7 @@ if ! test -f ./wasm/wasm_dpp_bg.wasm; then fi echo 'Converting wasm binary into base64 module' -WASM_BUILD_BASE_64="$(base64 -i './wasm/wasm_dpp_bg.wasm')" +WASM_BUILD_BASE_64="$(base64 -w 0 './wasm/wasm_dpp_bg.wasm')" echo 'module.exports = "'"${WASM_BUILD_BASE_64}"'"' > './dist/wasm/wasm_dpp_bg.js' ## save directly to dist folder to avoid re-generating TS declarations