bundlers/inline-worker
Bundles a browser worker into readable source embedded in the plugin’s JavaScript module.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| InlineWorkerModule | The module exporting a worker’s source and the files its watch build depends on. |
Functions
Section titled “Functions”| 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. |