-
Notifications
You must be signed in to change notification settings - Fork 7
/
fec.config.js
68 lines (67 loc) · 2.04 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
const path = require('path');
module.exports = {
appUrl: '/openshift/assisted-installer-app',
debug: true,
useProxy: true,
proxyVerbose: true,
stripAllPfStyles: 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 to 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: [],
hotReload: process.env.HOT === 'true',
moduleFederation: {
exposes: {
'./RootApp': path.resolve(__dirname, './src/components/RootApp.tsx'),
'./TechnologyPreview': path.resolve(
__dirname,
'./src/components/TechnologyPreview.tsx',
),
'./NoPermissionsError': path.resolve(
__dirname,
'./src/components/NoPermissionsError.tsx',
),
'./ExternalLink': path.resolve(
__dirname,
'./src/components/ExternalLink.tsx',
),
'./AssistedInstallerDetailCard': path.resolve(
__dirname,
'./src/components/AssistedInstallerDetailCard.tsx',
),
'./AssistedInstallerExtraDetailCard': path.resolve(
__dirname,
'./src/components/AssistedInstallerExtraDetailCard.tsx',
),
'./ClusterStatus': path.resolve(
__dirname,
'./src/components/ClusterStatus.tsx',
),
'./FeatureSupportsLevel': path.resolve(
__dirname,
'./src/components/FeatureSupportsLevel.tsx',
),
'./HostsClusterDetailTab': path.resolve(
__dirname,
'./src/components/HostsClusterDetailTab.tsx',
),
'./Services': path.resolve(
__dirname,
'./src/components/Services.tsx',
),
},
exclude: [],
shared: [],
},
};