mirror of
https://github.com/gorules/zen.git
synced 2026-10-04 16:02:18 +00:00
* feat: wasm support * add http callback * streamline structs * fix: wasm workflow * fix: wasi path * fix: wasm * fix: wasm path * fix: clang dev * fix: libclang static * fix: build * fix: node * fix: wasm * fix: wasm wasi * fix: npm dirs * fix: node workflow * fix: testing * fix: test * update version * fix: targets * fix: wasm fix * fix: commit files --------- Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
4 lines
210 B
Makefile
4 lines
210 B
Makefile
wasm:
|
|
yarn exec napi build --target wasm32-wasip1-threads --output-dir npm/wasm32-wasi --release
|
|
mv npm/wasm32-wasi/browser.js .
|
|
mv npm/wasm32-wasi/zen-engine.wasm npm/wasm32-wasi/zen-engine.wasm32-wasi.wasm
|