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.
21 lines
847 B
21 lines
847 B
import { IconOptions, ProjectOptions } from 'expo-pwa';
|
|
import { compilation as compilationNS, Compiler } from 'webpack';
|
|
import ModifyHtmlWebpackPlugin, { HTMLLinkNode, HTMLPluginData } from './ModifyHtmlWebpackPlugin';
|
|
export declare type ApplePwaMeta = {
|
|
name?: string;
|
|
barStyle?: string;
|
|
isWebAppCapable?: boolean;
|
|
isFullScreen?: boolean;
|
|
};
|
|
export default class ApplePwaWebpackPlugin extends ModifyHtmlWebpackPlugin {
|
|
private pwaOptions;
|
|
private meta;
|
|
private icon;
|
|
private startupImage;
|
|
constructor(pwaOptions: ProjectOptions & {
|
|
links: HTMLLinkNode[];
|
|
meta: HTMLLinkNode[];
|
|
}, meta: ApplePwaMeta, icon: IconOptions | null, startupImage: IconOptions | null);
|
|
modifyAsync(compiler: Compiler, compilation: compilationNS.Compilation, data: HTMLPluginData): Promise<HTMLPluginData>;
|
|
}
|