forked from RHEnVision/provisioning-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfec.config.js
27 lines (26 loc) · 815 Bytes
/
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
/* global module, __dirname */
const { resolve } = require('path');
const BundleAnalyzerPlugin =
require("webpack-bundle-analyzer").BundleAnalyzerPlugin
module.exports = {
appUrl: '/insights/provisioning',
debug: true,
useProxy: true,
proxyVerbose: true,
/**
* Change to false after your app is registered in configuration files
*/
interceptChromeConfig: true,
/**
* Add additional webpack plugins
*/
plugins: [process.env.ANALYZED && new BundleAnalyzerPlugin()],
_unstableHotReload: process.env.HOT === 'true',
routesPath: process.env.ROUTES_PATH && resolve(process.env.ROUTES_PATH),
moduleFederation: {
exposes: {
'./RootApp': resolve(__dirname, './src/AppEntry'),
'./ProvisioningWizard': resolve(__dirname, './src/Components/ProvisioningWizard')
}
}
};