Skip to content

Commit

Permalink
fix(fec): RHINENG-7044 - Correct module federation config (#1266)
Browse files Browse the repository at this point in the history
* fix(fec): Correct module federation config

* chore(fec): Remove obsolete port config
  • Loading branch information
bastilian authored May 15, 2024
1 parent bccedee commit 9719ccb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = {
project: process.env.SENTRY_PROJECT,
}),
],
...(process.env.port ? { port: parseInt(process.env.port) } : {}),
moduleFederation: {
shared: [
{
Expand All @@ -25,9 +24,9 @@ module.exports = {
},
},
],
},
exposes: {
'./RootApp': resolve(__dirname, '../src/AppEntry'),
'./SystemDetail': resolve(__dirname, '../src/Modules/SystemDetail'),
exposes: {
'./RootApp': resolve(__dirname, 'src/AppEntry'),
'./SystemDetail': resolve(__dirname, 'src/Modules/SystemDetail'),
},
},
};

0 comments on commit 9719ccb

Please sign in to comment.