WebGL 2 Advanced Single Build

Currently, it’s recommended to use the WebGL2 advanced library for runtime instead of the WebGL advanced one. However, currently only the canvas and WebGL libraries have a single variation built.

There doesn’t seem to be a reason not to include a WebGL 2 Advanced Single version as well, especially since it’s the recommended version now.

I can build it myself and I have no issues running it which shows it should be fine, but it usually takes me a while and I’ve only been able to do it on Linux so I have to get on a different computer and transfer it back.

Canvas vs WebGL - Rive

Currently it’s just commented out in the build script:

  echo
echo "::::: building @rive-app/webgl2_advanced_single"
echo
OUT_DIR=build/webgl2_advanced_single/bin/release ./build_wasm.sh -r webgl2 -s release
# Don't build a package for this one. Just do the build so we can test it.
rive-wasm/wasm/build_all_wasm.sh at master · rive-app/rive-wasm

Please consider adding an npm package for this variation!