I would like to continue adding client library files to JSPs as follows:
<cq:includeClientLib js="some-category" />
But I need to have control over the attributes in the resulting script include. In other words I might want to see
<script type="application/javascript" async defer data-attr="somedata" src="<path to clientlib.min.js></script>
I have not seen any document that explains how to achieve this. I was hoping for something similar to adding classes for cq:htmlTag. Clearly I could do this manually by adding the script tag myself, and manually adding the path to the clientlib, but then I lose the ability to reference by category, which is my major use case for using clientlibs.
Thanks,
Matt