UNPKG

gatsby

Version:
11 lines (10 loc) 381 B
import { IPluginRefObject } from "../types"; /** * Make sure key is unique to plugin options. E.g. there could * be multiple source-filesystem plugins, with different names * (docs, blogs). * * @param name Name of the plugin * @param pluginObject Object of the plugin */ export declare const createPluginId: (name: string, pluginObject?: IPluginRefObject | null) => string;