@easyv/react-component-builder 0.19.5-beta.0 → 0.19.5-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -375,14 +375,9 @@ module.exports = function (content, map, meta) {
375
375
  };
376
376
  mainConfig.configuration.unshift(chart);
377
377
  }
378
- console.log(
379
- JSON.stringify(
380
- main.commonAssets
381
- )
382
- )
383
378
  // 公共资源配置
384
379
  if (main.commonAssets && Array.isArray(main.commonAssets)) {
385
- mainConfig['commonAssets'] = main.commonAssets
380
+ mainConfig.commonAssets = main.commonAssets
386
381
  }
387
382
 
388
383
  // 子组件排序,有配置项则以chilren排序,否则以文件顺序排序
@@ -447,6 +442,9 @@ module.exports = function (content, map, meta) {
447
442
  delete mainConfig.presetChildren;
448
443
  }
449
444
 
445
+ console.log(
446
+ JSON.stringify(mainConfig)
447
+ )
450
448
  file += '\n';
451
449
  file += `${vname}.getDefaultConfig=function(){return ${JSON.stringify(
452
450
  mainConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/react-component-builder",
3
- "version": "0.19.5-beta.0",
3
+ "version": "0.19.5-beta.1",
4
4
  "files": [
5
5
  "launcher",
6
6
  "templates",