UNPKG

@nx/module-federation

Version:

The Nx Plugin for Module Federation contains executors and utilities that support building applications using Module Federation.

10 lines (9 loc) 467 B
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>;