add custom attribute in clientlibs generated script tag.
OS: RHEL 7.6
Server: AEM-6.5.1 SP-6.5.20
Dispatcher: (build 4.3.2/apache2.4-linux-x86_64-ssl)
ACS Commons: v4.12.0
we are using versioned clientlibs which is working as expected. Now we need to add custom attribute in clientlibs generated script tag as below.
<script data-cookieconsent="necessary" src="/etc.clientlibs/myproject/clientlibs/clientlib-base.min.ACSHASH4486893c76fcb85f3930466a411c1975.js"></script>
Do we need to customize anything in AEM OOTB or ACS-Commons level add the custom attribute ? Thanks in advance for your replies.