Skip to content

Commit

Permalink
fix(ExportManager): Ensure Uno NET7 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
ebariche committed May 18, 2023
1 parent 4ae0add commit 1c22a28
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Uno.UI/ts/ExportManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ namespace Uno.UI {

const runtimeWasmExports = await (<any>Module).getAssemblyExports("Uno.Foundation.Runtime.WebAssembly");

(<any>globalThis).DotnetExports = {
Uno: unoExports,
UnoUI: unoUIExports,
UnoUIDispatching: unoUIDispatchingExports,
UnoFoundationRuntimeWebAssembly: runtimeWasmExports
};
if (Object.entries(unoUIExports).length > 0) {
(<any>globalThis).DotnetExports = {
Uno: unoExports,
UnoUI: unoUIExports,
UnoUIDispatching: unoUIDispatchingExports,
UnoFoundationRuntimeWebAssembly: runtimeWasmExports
};
}
}
}
}
Expand Down

0 comments on commit 1c22a28

Please sign in to comment.