#!/bin/bash
# The initial build
# Set wee_alloc as a smaller allocator
# We do it here instead of Cargo.toml, to keep
# the default allocator in the native Rust library build
# Optimize for size
# You might need to install wasm-opt from binaryen
# https://github.com/WebAssembly/binaryen/releases
# echo "Size after wasm-opt"
|