Skip to content

registerPackagedSideModules

registerPackagedSideModules(config): void

Defined in: runtime/packagedRuntime.ts:124

Register the project modules this build staged, so sideModules.acquire(id) resolves them the way it resolves the engine’s own.

Every realm calls this after reading its config and before anything acquires — one line each rather than one clever shared boot, because the four realms do not share a boot: the web fetches its config, native reads it off disk, a mini-game requires it, and a playable has it inlined.

Pick<PackagedGameConfig, "sideModules">

void