-
Notifications
You must be signed in to change notification settings - Fork 1
/
fec.config.js
39 lines (38 loc) · 1.03 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
/**
* @type {import("webpack").Configuration}
*/
const config = {
appUrl: '/staging/starter',
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: '.trusted-artifact-signer, .trustedArtifactSigner',
/**
* Change to false after your app is registered in configuration files
*/
interceptChromeConfig: true,
/**
* Add additional webpack plugins
*/
plugins: [],
_unstableHotReload: process.env.HOT === 'true',
moduleFederation: {
exclude: ['react-router-dom'],
shared: [
{
'react-router-dom': {
singleton: true,
import: false,
requiredVersion: '^6.3.0',
},
},
],
},
};
module.exports = config;