$ wasm-pack build aps_core --target web --out-dir=../editor/lib
- When adding any new calls to functions that return
Value
, make sure you wrap it in atee!(..)
to make sure that we handle exceptions correctly. - When calling
eval_scope()
make sure you handle if the returned value is notValue::Void
because that means there was a return statement.