1 | const fs = require('fs');
|
2 | const strProd = "production";
|
3 | const strDev = "development";
|
4 | const strTest = "test";
|
5 |
|
6 | module.exports = {
|
7 | strProd,
|
8 | strDev,
|
9 | strTest,
|
10 | extractStylePublicPath: '../',
|
11 | defaultEngines: ["react"],
|
12 | globalObjectKey: 'talent-ui-runtime',
|
13 | languageJs: 'js',
|
14 | languageTs: 'ts',
|
15 | languageMixed: 'mixed',
|
16 |
|
17 | appRoot: fs.realpathSync(process.cwd()),
|
18 | host: "127.0.0.1",
|
19 | port: 3000,
|
20 | switchOn: "on",
|
21 | switchOff: "off",
|
22 | typeFunc: "function",
|
23 | styles: ['sass','css'],
|
24 | projType: {
|
25 | spa: 'spa',
|
26 | mpa: 'mpa',
|
27 | module: 'module'
|
28 | }
|
29 | };
|