interface WasmFilePaths {
    mjs?: string | URL;
    wasm?: string | URL;
}

Properties

Properties

mjs?: string | URL

Specify the override path for the main .mjs file.

This path should be an absolute path.

If not modified, the filename of the .mjs file is:

  • ort-wasm-simd-threaded.mjs for default build
  • ort-wasm-simd-threaded.jsep.mjs for JSEP build (with WebGPU and WebNN)
  • ort-training-wasm-simd-threaded.mjs for training build
wasm?: string | URL

Specify the override path for the main .wasm file.

This path should be an absolute path.

If not modified, the filename of the .wasm file is:

  • ort-wasm-simd-threaded.wasm for default build
  • ort-wasm-simd-threaded.jsep.wasm for JSEP build (with WebGPU and WebNN)
  • ort-training-wasm-simd-threaded.wasm for training build

Generated using TypeDoc