Generate Dynamic Client Library based Components added in the Page
Currently, We are loading Client-libraries in Components using HTL like below:
<sly data-sly-use.clientlibs="${'com.adobe.cq.wcm.core.components.models.ClientLibraries' @ categories=['apps.aem-demo.components.content.external-link-popup'], defer=true}">
${clientlibs.jsAndCssIncludes @ context="unsafe"}
</sly>If we follow this approach, for 20 distinct components, 20 http request will execute to download JS/CSS files from the server. Is there any way to generate a dynamic client library which will embed all the 20 component in single client library?
