summaryrefslogtreecommitdiff
path: root/frontend/_wasm/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/_wasm/build.sh')
-rw-r--r--frontend/_wasm/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/_wasm/build.sh b/frontend/_wasm/build.sh
new file mode 100644
index 0000000..98bf2c4
--- /dev/null
+++ b/frontend/_wasm/build.sh
@@ -0,0 +1 @@
+emcc -o output.js wasm.cpp Shader.cpp -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 \ No newline at end of file