UNPKG

open-browser-once-plugin

Version:
16 lines (15 loc) 431 B
/** * Webpack Plugin for open browser once rather than many times * @author 余聪 */ /// <reference types="node" /> import { format } from 'url'; declare class OpenBrowserOncePlugin { openUrl: Parameters<typeof format>[0]; private _isOpened; get isOpened(): boolean; constructor(openUrl: Parameters<typeof format>[0]); get name(): string; apply(compiler: any): void; } export { OpenBrowserOncePlugin };