@next-core/brick-kit 2.162.0 → 2.162.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.
- package/dist/index.bundle.js +4 -4
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -8244,13 +8244,13 @@ class Kernel {
|
|
|
8244
8244
|
dll,
|
|
8245
8245
|
deps,
|
|
8246
8246
|
bricks,
|
|
8247
|
-
|
|
8247
|
+
eager
|
|
8248
8248
|
} = getDllAndDepsOfStoryboard(yield asyncProcessStoryboard(storyboard, brickTemplateRegistry, templatePackages), brickPackages, {
|
|
8249
8249
|
ignoreBricksInUnusedCustomTemplates: true
|
|
8250
8250
|
});
|
|
8251
|
-
// 需要先阻塞加载 Custom Processors。
|
|
8252
|
-
yield loadScriptOfDll(
|
|
8253
|
-
yield loadScriptOfBricksOrTemplates(
|
|
8251
|
+
// 需要先阻塞加载 Custom Processors 和 widgets。
|
|
8252
|
+
yield loadScriptOfDll(eager.dll);
|
|
8253
|
+
yield loadScriptOfBricksOrTemplates(eager.deps);
|
|
8254
8254
|
// 加载构件资源时,不再阻塞后续业务数据的加载,在挂载构件时再等待该任务完成。
|
|
8255
8255
|
// 挂载构件可能包括:Provider 构件实时挂载、路由准备完成后的统一挂载等。
|
|
8256
8256
|
return {
|