UNPKG

extension-develop

Version:
15 lines (14 loc) 500 B
import { type Compiler } from '@rspack/core'; import { PluginInterface } from '../../reload-types'; export default class CreateWebSocketServer { private readonly manifestPath; private readonly port; private readonly browser; private readonly stats; private readonly instanceId?; private webSocketServer; private isServerInitialized; constructor(options: PluginInterface); initializeServer(compiler: Compiler): Promise<void>; apply(compiler: Compiler): void; }