mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 10:52:54 +00:00
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import { ModuleFederationPluginOptions } from "../types/index.mjs";
|
|
import { Compiler, WebpackPluginInstance } from "webpack";
|
|
|
|
//#region src/plugins/StreamingTargetPlugin.d.ts
|
|
/**
|
|
* Interface for StreamingTargetOptions which extends ModuleFederationPluginOptions
|
|
* @property {string} promiseBaseURI - The base URI for the promise
|
|
* @property {boolean} debug - Flag to enable/disable debug mode
|
|
*/
|
|
interface StreamingTargetOptions extends ModuleFederationPluginOptions {
|
|
promiseBaseURI?: string;
|
|
debug?: boolean;
|
|
}
|
|
/**
|
|
* Class representing a StreamingTargetPlugin
|
|
*/
|
|
declare class StreamingTargetPlugin implements WebpackPluginInstance {
|
|
private options;
|
|
/**
|
|
* Create a StreamingTargetPlugin
|
|
* @param {StreamingTargetOptions} options - The options for the plugin
|
|
*/
|
|
constructor(options: StreamingTargetOptions);
|
|
/**
|
|
* Apply the plugin to the compiler
|
|
* @param {Compiler} compiler - The webpack compiler
|
|
*/
|
|
apply(compiler: Compiler): void;
|
|
}
|
|
//#endregion
|
|
export { StreamingTargetPlugin as default };
|
|
//# sourceMappingURL=StreamingTargetPlugin.d.mts.map
|