@next-core/brick-utils 2.45.14 → 2.45.15
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.esm.js
CHANGED
|
@@ -18152,10 +18152,14 @@ function getDllAndDepsOfStoryboard(storyboard, brickPackages, options) {
|
|
|
18152
18152
|
usedTemplates
|
|
18153
18153
|
} = scanStoryboard(storyboard, options);
|
|
18154
18154
|
var customTemplates = (_storyboard$meta = storyboard.meta) === null || _storyboard$meta === void 0 ? void 0 : _storyboard$meta.customTemplates;
|
|
18155
|
+
var processors = scanProcessorsInAny([storyboard.routes, options !== null && options !== void 0 && options.ignoreBricksInUnusedCustomTemplates ? customTemplates === null || customTemplates === void 0 ? void 0 : customTemplates.filter(tpl => usedTemplates.includes(tpl.name)) : customTemplates]);
|
|
18155
18156
|
return _objectSpread(_objectSpread({}, getDllAndDepsByResource({
|
|
18156
18157
|
bricks,
|
|
18157
|
-
processors
|
|
18158
|
+
processors
|
|
18158
18159
|
}, brickPackages)), {}, {
|
|
18160
|
+
byProcessors: getDllAndDepsByResource({
|
|
18161
|
+
processors
|
|
18162
|
+
}, brickPackages),
|
|
18159
18163
|
bricks
|
|
18160
18164
|
});
|
|
18161
18165
|
}
|