Skip to content

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 InlineWorkerModule

Properties

PropertyTypeDescription
codestringJavaScript exporting the bundled worker source as a string.
dependenciesreadonly string[]Absolute paths of every bundled input.

Links to this page: