FeaturePluginContext
The part of a rollup or rolldown plugin context the feature plugin uses.
Import:
import type { FeaturePluginContext } from '@mnaoumov/obsidian-dev-toolkit/bundlers/rollup-compatible-features';Signature:
export interface FeaturePluginContextProperties
| Property | Type | Description |
|---|---|---|
| addWatchFile | (id: string) => void | Adds a file to watch in a watch build. |
| emitFile | (emittedFile: EmittedAsset) => string | Emits an asset into the bundle. |
Links to this page: