atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
10 lines (9 loc) • 845 B
TypeScript
import type { ConditionsMap, ContextMap, DataProvidersMap, DeprecationMap, WebresourceMap } from '../types/types';
export declare const getContextForEntry: (entry: string, contextMap: ContextMap, addEntrypointNameAsContext: boolean) => string[];
export declare const getWebresourceAttributesForEntry: (entry: string, webresourceKeyMap: WebresourceMap) => {
key: string;
moduleId: string;
};
export declare const getConditionForEntry: (entry: string, conditionMap: ConditionsMap) => import("../types/types").Condition | undefined;
export declare const getDataProvidersForEntry: (entrypoint: string, dataProvidersMap: DataProvidersMap) => import("../types/types").DataProvider[];
export declare const getDeprecationInfoForEntry: (entrypoint: string, deprecationMap: DeprecationMap) => import("../types/types").DeprecationInfo | undefined;