Skip to content

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 FeaturePluginContext

Properties

PropertyTypeDescription
addWatchFile(id: string) => voidAdds a file to watch in a watch build.
emitFile(emittedFile: EmittedAsset) => stringEmits an asset into the bundle.

Links to this page: