rollup-plugin-rld
Version:
Rollup plugin to inject a live reload script into your bundle
19 lines (16 loc) • 370 B
TypeScript
/** @format */
import { Emitter } from './Emitter';
export type ServerInit = {
/**
* @description
* Emitter to connect the server to. Used to remotely trigger a response outside the server.
* @type { Emitter }
*/
emitter: Emitter;
/**
* @description
* The url to listen to.
* @type { string }
*/
url: string;
};