# Type alias ModuleShareOptions

ModuleShareOptions: {
eager?: boolean;
import?: string;
requiredVersion?: string;
shareKey?: string;
shareScope?: string;
singleton?: boolean;
}

Options for specifying a shared module for webpack5's ModuleFederationPlugin

See docs at https://webpack.js.org/concepts/module-federation/

#### Type declaration

- ##### `Optional` eager?: boolean

- ##### `Optional` import?: string

- ##### `Optional` requiredVersion?: string

- ##### `Optional` shareKey?: string

- ##### `Optional` shareScope?: string

- ##### `Optional` singleton?: boolean

- Defined in packages/xarc-app-dev/src/config/opt2/remote-federation.ts:6