Skip to content

bundlers/inline-worker

Bundles a browser worker into readable source embedded in the plugin’s JavaScript module.

Interface Description
InlineWorkerModule The module exporting a worker’s source and the files its watch build depends on.
Function Description
bundleInlineWorker Bundles a worker and its imports for a Blob-backed browser Worker, without emitting a sibling file. Node builtins and Obsidian imports are unavailable in workers and fail resolution.