UNPKG

671 BJavaScriptView Raw
1const fs = require('fs');
2const strProd = "production";
3const strDev = "development";
4const strTest = "test";
5
6module.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 // buildProd: process.env.NODE_ENV === strProd,
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};