@next-core/brick-kit 2.159.4 → 2.159.5

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.
@@ -8106,8 +8106,11 @@
8106
8106
  } = _this.bootstrapData;
8107
8107
  if (storyboard.dependsAll) {
8108
8108
  var dllPath = window.DLL_PATH || {};
8109
+ yield loadScriptOfDll(Object.values(dllPath));
8110
+ yield loadScriptOfBricksOrTemplates(brickPackages.map(item => item.filePath).concat(templatePackages.map(item => item.filePath)));
8111
+ yield loadAllLazyBricks();
8109
8112
  return {
8110
- pendingTask: loadScriptOfDll(Object.values(dllPath)).then(() => loadScriptOfBricksOrTemplates(brickPackages.map(item => item.filePath).concat(templatePackages.map(item => item.filePath)))).then(() => loadAllLazyBricks())
8113
+ pendingTask: Promise.resolve()
8111
8114
  };
8112
8115
  } else {
8113
8116
  // 先加载模板
@@ -8117,10 +8120,14 @@
8117
8120
  var {
8118
8121
  dll,
8119
8122
  deps,
8120
- bricks
8123
+ bricks,
8124
+ byProcessors
8121
8125
  } = brickUtils.getDllAndDepsOfStoryboard(yield brickUtils.asyncProcessStoryboard(storyboard, brickTemplateRegistry, templatePackages), brickPackages, {
8122
8126
  ignoreBricksInUnusedCustomTemplates: true
8123
8127
  });
8128
+ // 需要先阻塞加载 Custom Processors。
8129
+ yield loadScriptOfDll(byProcessors.dll);
8130
+ yield loadScriptOfBricksOrTemplates(byProcessors.deps);
8124
8131
  // 加载构件资源时,不再阻塞后续业务数据的加载,在挂载构件时再等待该任务完成。
8125
8132
  // 挂载构件可能包括:Provider 构件实时挂载、路由准备完成后的统一挂载等。
8126
8133
  return {