@nx/module-federation
Version:
10 lines (9 loc) • 467 B
TypeScript
import type { Configuration } from '@rspack/core';
import { ModuleFederationConfig, NxModuleFederationConfigOverride } from '../../utils';
/**
* @param {ModuleFederationConfig} options
* @param {NxModuleFederationConfigOverride} configOverride
*/
export declare function withModuleFederation(options: ModuleFederationConfig, configOverride?: NxModuleFederationConfigOverride): Promise<(config: Configuration, { context }: {
context: any;
}) => Configuration>;