AndrewStone
10/30/2025, 10:07 PMimport * as skiko from './skiko.mjs';
import * as joda from '@js-joda/core';
import { instantiate } from './composeApp.uninstantiated.mjs';
export async function initComposeApp()
{
if (skiko.ready)
{
await skiko.ready;
}
else if (typeof skiko.instantiate === "function")
{
// fallback for older skiko
await skiko.instantiate();
}
const { exports } = await instantiate({
'./skiko.mjs': skiko,
'@js-joda/core': joda
});
return exports;
}
So far it appears to be working. I figured I'd post this here, because I think anyone else who is trying to use their composeApp as a module will hit the same problem.