extension-develop
Version:
The develop step of Extension.js
15 lines (14 loc) • 500 B
TypeScript
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;
}