react-native-flip
Version:
24 lines (23 loc) • 658 B
TypeScript
import { compilation as compilationNS, Compiler } from 'webpack';
export declare type HTMLPluginData = {
assetTags: any;
outputName: string;
plugin: any;
};
export declare type HTMLLinkNode = {
rel?: string;
name?: string;
content?: string;
media?: string;
href?: string;
sizes?: string;
node: any;
};
export default class ModifyHtmlWebpackPlugin {
private modifyOptions;
constructor(modifyOptions?: {
inject?: boolean | Function;
});
modifyAsync(compiler: Compiler, compilation: compilationNS.Compilation, data: HTMLPluginData): Promise<HTMLPluginData>;
apply(compiler: Compiler): void;
}