There doesn't seem to be a way to get at the exports of a module in native code. I'm trying to implement a system where my engine calls an export default function in the root module, but I haven't found a way of accessing the exports. JsModuleEvaluation(moduleRecord, &result); usually just returns undefined for the result.
There doesn't seem to be a way to get at the exports of a module in native code. I'm trying to implement a system where my engine calls an
export defaultfunction in the root module, but I haven't found a way of accessing the exports.JsModuleEvaluation(moduleRecord, &result);usually just returnsundefinedfor the result.