You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
583 B
12 lines
583 B
import { IconOptions, ProjectOptions } from 'expo-pwa';
|
|
import { compilation as compilationNS, Compiler } from 'webpack';
|
|
import ModifyHtmlWebpackPlugin, { HTMLLinkNode, HTMLPluginData } from './ModifyHtmlWebpackPlugin';
|
|
export default class FaviconWebpackPlugin extends ModifyHtmlWebpackPlugin {
|
|
private pwaOptions;
|
|
private favicon;
|
|
constructor(pwaOptions: ProjectOptions & {
|
|
links: HTMLLinkNode[];
|
|
}, favicon: IconOptions | null);
|
|
modifyAsync(compiler: Compiler, compilation: compilationNS.Compilation, data: HTMLPluginData): Promise<HTMLPluginData>;
|
|
}
|