ModuleFederationConfig
This content is not available in your language yet.
Defined in: core/index.ts:843
Module Federation config block (#3318 P1-0). A record shape isomorphic to
the webpack/rspack ModuleFederationPlugin — targeting the
@module-federation/runtime contract. P1-0 is zntc.config parsing &
validation only (emit not wired up; consumed in P1-1+; build()/NAPI mf
extraction is also P1-1+). The shared array/boolean shorthand is P1-1+ —
P1-0 only supports record-of-object.
Properties
섹션 제목: “Properties”exposes?
섹션 제목: “exposes?”
optionalexposes?:Record<string,string>
Defined in: core/index.ts:847
Exposed modules: { "./Widget": "./src/Widget.tsx" }.
name?
섹션 제목: “name?”
optionalname?:string
Defined in: core/index.ts:845
remote identifier. Required when using exposes/remotes.
remotes?
섹션 제목: “remotes?”
optionalremotes?:Record<string,string>
Defined in: core/index.ts:849
Consumed remotes: { remoteA: "remoteA@https://…/mf-manifest.json" }.
shared?
섹션 제목: “shared?”
optionalshared?:Record<string,MfSharedConfig>
Defined in: core/index.ts:852
Shared dependencies: { react: { singleton: true, requiredVersion: "^18" } }.
(P1-0: record-of-object only. boolean/array shorthand is P1-1+.)
shareScope?
섹션 제목: “shareScope?”
optionalshareScope?:string
Defined in: core/index.ts:854
share scope name (default "default").