Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(RHINENG-7043): adopt fec-fonfig (#2093)
* chore(RHINENG-7043): adopt fec-fonfig * chore: use relative path to import CloudServerIcon * chore: remove bootstrap and entry files * chore(RHINENG-7043): return entry files * chore(RHINENG-7043): remove excluded router from fed-module shared scope * chore(RHINENG-7043): update cy screenshots * chore: permissive requiredVersion and remove interceptChromeConfig in fec.config * chore: downgrade fec-config-utils package to fix random cypress fails
- Loading branch information
1 parent
df3416c
commit 73fd746
Showing
14 changed files
with
1,205 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,6 @@ instrumented/ | |
|
||
# build files | ||
build | ||
|
||
#cache | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint-disable no-undef */ | ||
const { resolve } = require('path'); | ||
|
||
module.exports = { | ||
appUrl: '/insights/vulnerability', | ||
debug: true, | ||
useProxy: process.env.PROXY === 'true', | ||
proxyVerbose: true, | ||
interceptChromeConfig: false, | ||
plugins: [], | ||
...(process.env.HOT ? { hotReload: process.env.HOT === 'true' } : { hotReload: true }), | ||
...(process.env.port ? { port: parseInt(process.env.port) } : {}), | ||
moduleFederation: { | ||
shared: [ | ||
{ | ||
'react-router-dom': { | ||
singleton: true, | ||
import: false, | ||
version: '^6.8.1', | ||
requiredVersion: '>=6.0.0 <7.0.0' | ||
} | ||
} | ||
], | ||
exposes: { | ||
'./RootApp': resolve(__dirname, './src/AppEntry'), | ||
'./SystemDetail': resolve(__dirname, './src/index.js') | ||
} | ||
} | ||
}; |
Oops, something went wrong.