UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

10 lines (7 loc) 433 B
import * as @bindgenBundleNameCamelCase@ from '../../../dist/index.js' globalThis.@bindgenBundleNameCamelCase@ = @bindgenBundleNameCamelCase@ // Use local, vendored WebAssembly module assets const viteBaseUrl = import.meta.env.BASE_URL const pipelinesBaseUrl: string | URL = new URL(`${viteBaseUrl}pipelines`, document.location.origin).href @bindgenBundleNameCamelCase@.setPipelinesBaseUrl(pipelinesBaseUrl) @bindgenFunctionLogic@