@plugin-web-update-notification/webpack
Version:
Webpack plugin for detect web page updates and notify.
15 lines (12 loc) • 471 B
TypeScript
import { Options } from '@plugin-web-update-notification/core';
import { Compiler } from 'webpack';
type PluginOptions = Options & {
/** index.html file path, by default, we will look up path.resolve(webpackOutputPath, './index.html') */
indexHtmlFilePath?: string;
};
declare class WebUpdateNotificationPlugin {
options: PluginOptions;
constructor(options: PluginOptions);
apply(compiler: Compiler): void;
}
export { WebUpdateNotificationPlugin };