module-federation / rollup-federation

Module Federation within the rollup bundler
MIT License
81 stars 4 forks source link

Facing issue configuring roll up for building MFE remote #22

Open ajit-chormale opened 1 year ago

ajit-chormale commented 1 year ago

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 commented 1 year ago

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 })