completeObsidianPluginDistFolder
Puts the files a plugin folder needs besides the bundle into the output folder: manifest.json, and for a development build reloaded by the HotReload plugin the empty .hotreload marker it watches for.
Import:
import { completeObsidianPluginDistFolder } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-build';Signature:
function completeObsidianPluginDistFolder(context: ObsidianPluginBuildContext): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
context |
ObsidianPluginBuildContext | The build context. |
Returns: Promise<void> — A Promise that resolves once the files are written.