siacentral / sia-lite-wallet-web

Secure non-custodial cryptocurrency wallet with support for Siacoin (SC) and the Ledger Nano S/X
https://wallet.siacentral.com
GNU Affero General Public License v3.0
34 stars 12 forks source link

Copy wasm_exec.js from local Go installation #21

Closed n8maninger closed 3 years ago

n8maninger commented 3 years ago

Due to a caching issue we were forced to modify and check in wasm_exec.js so that it works with webpack. However this causes problems if a version other than Go v1.15.7 is installed when building locally. Ideally, wasm_exec.js would be copied from GOROOT/misc/wasm/wasm_exec.js.

This commit being included in a release is holding this up https://github.com/golang/go/commit/758ac371ab930734053ed226ac62681e62ab8eea

Once that is released we need to re-add wasm_exec.js to .gitignore and .dockerignore and modify the makefile to copy it from the user's Go installation.