webpack-dev-server
Version:
Serves a webpack app. Updates the browser on changes.
23 lines (20 loc) • 562 B
JavaScript
;
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;