Skip to content

SideModuleDescriptor

Defined in: sideModules/registry.ts:42

file: string

Defined in: sideModules/registry.ts:44

Artifact base name: the glue is <file>.js, the binary <file>.wasm.


optional globalName?: string

Defined in: sideModules/registry.ts:51

Global the emscripten glue assigns its factory to (MODULARIZE + EXPORT_NAME). When absent the glue is an ES6 module whose default export IS the factory. This is the only thing that varies between the physics glue (ES6 default) and the spine glue (named global) loaders.