Interface: BrowserEnvOptions
Defined in: packages/minerender/src/env/browser/BrowserEnv.ts:11
Settings for BrowserEnv and registerBrowserEnv.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
sectionWorker? | string | URL | (() => Worker) | Section worker script, as a URL, or a function that creates the worker. Set it when the bundle has no import.meta.url, such as the script-tag build: serve minerender/section.worker from the page's origin and pass its URL. Register before creating a world; the worker starts on the first section build. | packages/minerender/src/env/browser/BrowserEnv.ts:18 |