Hello @NikoGR for this custom plugin, you may be made a clientlib for author in your componentFor every AEM Component, we have a structure- exampleComponent
- _cq_dialog
- .content.xml
- clientlib
- main.js
- js.txt
- .content.xml
- clientlib-author
- authorClientlib.js
...