rollup-federation icon indicating copy to clipboard operation
rollup-federation copied to clipboard

Facing issue configuring roll up for building MFE remote

Open ajit-chormale opened this issue 2 years ago • 1 comments

We are trying to use roll up for module federation. For configuring remote 'filename' (which will be used to reference from host) attribute specified does not seem to work. Could you please help here ? @jacob-ebey @maraisr

ajit-chormale avatar May 22 '23 11:05 ajit-chormale

When we generate build with federation plugin with below mentioned config, leadsEntry.js file name is supposed to get generated but its not generating. Your help will be appreciated. @jacob-ebey.

federation({ name: "leads", library: { type: "var", name: "leads" }, filename: "leadsEntry.js", exposes: {}, shared: packageJson.dependencies })

ajit-chormale avatar May 29 '23 09:05 ajit-chormale