Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
- Clone this gist
npm installnpm start- Open
http://localhost:8080 - Look at console
Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
npm installnpm starthttp://localhost:8080| import tiimPrivateSale from './ethereum/tiimPrivateSale'; | |
| ... | |
| submitPrivateSale = async (event) => { | |
| event.preventDefault(); | |
| const {investor, value, bonus} = this.state; | |
| this.closeSaleForm(); |
Don't want to see package-lock.json and yarn.lock in your git diff? Here are two nifty aliases that hide these files from your diff.
alias gd="git diff -- :!package-lock.json :!yarn.lock"
alias gds="git diff --staged -- :!package-lock.json :!yarn.lock"