Skip to main content

Function: setWasmBasePath()

setWasmBasePath(basePath?): void

Sets the directory every wasm binary is loaded from. Pass undefined (or an empty string) to restore each consumer's own default resolution.

init({ wasmBasePath }) on @cornerstonejs/dicom-image-loader calls this, so applications configuring the loader do not need to call it themselves.

Parameters​

• basePath?: string

Returns​

void

Defined in​

packages/core/src/utilities/wasmBasePath.ts:36