Skip to content

Commit

Permalink
build: update fed config, react-router-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Sep 26, 2024
1 parent 22e6551 commit 9409d7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fec.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const { webpack, CopyWebpackPlugin } = require('weldable/lib/packages');
const { dotenv } = require('weldable');
const { dependencies } = require('./package.json');

const {
// DEV_BRANCH,
Expand Down Expand Up @@ -32,13 +33,13 @@ module.exports = {
return undefined;
})(),
moduleFederation: {
exclude: ['react-router-dom'],
// exclude: ['react-router-dom'],
shared: [
{
'react-router-dom': {
singleton: true,
import: false,
version: '^6.3.0'
version: dependencies['react-router-dom']
}
}
]
Expand Down

0 comments on commit 9409d7a

Please sign in to comment.