forked from openshift-assisted/assisted-installer-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfec.config.js
43 lines (42 loc) · 1.22 KB
/
fec.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const path = require('path');
module.exports = {
appUrl: '/openshift/assisted-installer-app',
debug: true,
useProxy: true,
proxyVerbose: true,
/**
* Change accordingly to your appname in package.json.
* The `sassPrefix` attribute is only required if your `appname` includes the dash `-` characters.
* If the dash character is present, you will have add a camelCase version of it to the sassPrefix.
* If it does not contain the dash character, remove this configuration.
*/
sassPrefix: '.assisted-installer-app, .assistedInstallerApp',
/**
* Change to false after your app is registered in configuration files
*/
interceptChromeConfig: false,
/**
* Add additional webpack plugins
*/
plugins: [],
_unstableHotReload: process.env.HOT === 'true',
moduleFederation: {
exposes: {
"./RootApp": path.resolve(__dirname, "./src/AppEntry.tsx"),
"./SampleComponent": path.resolve(
__dirname,
"./src/Components/SampleComponent/sample-component.tsx"
),
},
exclude: ['react-router-dom'],
shared: [
{
'react-router-dom': {
singleton: true,
import: false,
requiredVersion: '^6.3.0',
},
},
],
},
};