atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
11 lines (10 loc) • 454 B
TypeScript
import type { TransformationMap } from '../types/types';
declare type Resource = {
location: string;
};
/**
* Converts a map of filetype-to-transformer entries in to the set of XML transform elements
* required for a given set of resources. Renders every transform if no resources are provided.
*/
declare const renderTransformations: (transformations: TransformationMap, resources?: Resource[]) => string[];
export default renderTransformations;