Skip to main content

interface.OfflineImportMap

API > OfflineImportMap

Interface: OfflineImportMap

A map describing inlined resources, or urls where to fetch them.

Properties

baseUrl

readonly baseUrl: URL

The absolute base url to be applied to the other URLs.

See

https://developer.mozilla.org/en-US/docs/Web/API/URL/URL

Source

@novorender/offline/imports.ts:24


ioWorker

ioWorker?: string | URL

Inlined io worker, or URL to download.

Default Value

"./ioWorker.js"

Source

@novorender/offline/imports.ts:29