UNPKG

webpack-dev-server

Version:

Serves a webpack app. Updates the browser on changes.

25 lines (21 loc) • 638 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /** @typedef {import("../Server.js").ClientConnection} ClientConnection */ // base class that users should extend if they are making their own // server implementation class BaseServer { /** * @param {import("../Server.js").default} server server */ constructor(server) { /** @type {import("../Server.js").default} */ this.server = server; /** @type {ClientConnection[]} */ this.clients = []; } } exports.default = BaseServer;module.exports = exports.default; module.exports.default = exports.default;