AEM clientlib certain javascript files to load only on AEM author
Hello,
I wanted to know what is the best possible way to have certain JavaScript files of clientlib to work only on AEM author and does not load on publishers.
Assume I have 10 javascript files in the clientlib out which 3 files must load only in aem author and other 7 files must load only in publisher
How could i achieve it, what are best possible solutions for it.
Regards,
Srinivas