1 |
|
2 | let config = light.config;
|
3 |
|
4 |
|
5 | module.exports = function (env) {
|
6 | //188365【TS:201912300740-财富经纪业务群(理财销售)_潘腾-【需求类型】需求【需求描述】通过light release 】
|
7 | let envConfig = {};
|
8 | //218893【type-vue插件】--safe-check指令不过滤config下的配置项
|
9 | let customConfig = config['config'] ? {
|
10 | "config": config['config']
|
11 | } : {}
|
12 | light.util.extend(envConfig, light.options.safeCheck ? {"plugins": config['plugins'], ...customConfig} : config, config.env && config.env[env] ? config.env[env] : {})
|
13 | return JSON.stringify(envConfig);
|
14 | } |
\ | No newline at end of file |