@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.bundle.js
CHANGED
|
@@ -18157,10 +18157,14 @@
|
|
|
18157
18157
|
usedTemplates
|
|
18158
18158
|
} = scanStoryboard(storyboard, options);
|
|
18159
18159
|
var customTemplates = (_storyboard$meta = storyboard.meta) === null || _storyboard$meta === void 0 ? void 0 : _storyboard$meta.customTemplates;
|
|
18160
|
+
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]);
|
|
18160
18161
|
return _objectSpread__default["default"](_objectSpread__default["default"]({}, getDllAndDepsByResource({
|
|
18161
18162
|
bricks,
|
|
18162
|
-
processors
|
|
18163
|
+
processors
|
|
18163
18164
|
}, brickPackages)), {}, {
|
|
18165
|
+
byProcessors: getDllAndDepsByResource({
|
|
18166
|
+
processors
|
|
18167
|
+
}, brickPackages),
|
|
18164
18168
|
bricks
|
|
18165
18169
|
});
|
|
18166
18170
|
}
|