InlineWorkerModule
The module exporting a worker’s source and the files its watch build depends on.
Import:
import type { InlineWorkerModule } from '@mnaoumov/obsidian-dev-toolkit/bundlers/inline-worker';Signature:
export interface InlineWorkerModuleProperties
| Property | Type | Description |
|---|---|---|
| code | string | JavaScript exporting the bundled worker source as a string. |
| dependencies | readonly string[] | Absolute paths of every bundled input. |
Links to this page: