Add wasm-opt optimization build step

Sergej Kostjucenko requested to merge aj-wasm-opt into master

Created by: ascjones

Closes #23 (closed).

  • Requires wasm-opt to be installed on user machine
  • If not present, then the build still "succeeds" but with a message encouraging the user to install the tool.
  • Displays the size of the file before and after optimization
  • Adds some pretty colours

image

Merge request reports