samunplugged / aem-clientlib-webpack-plugin

a webpack plugin to create clientlib(s) for AEM
https://www.npmjs.com/package/aem-clientlib-webpack-plugin?activeTab=readme
MIT License
6 stars 3 forks source link

Option to override Default Template #1

Open sks40gb opened 6 years ago

sks40gb commented 6 years ago

Do we have any option to override default template for clientlib. As of now default template is

<?xml version="1.0" encoding="UTF-8"?> \n\ <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" \n\ jcr:primaryType="cq:ClientLibraryFolder" \n\ categories="[<%= categoryName %>]" \n\ dependencies="[<%= dependencies %>]"/>

However we need the option to add the additional attributes

jsProcessor="[[default:none\, min:none]]"

abhishekagg19 commented 6 years ago

Additional attributes might be required to set properties like, allowProxy = true (boolean)