Hello, everyone!
I'm trying to change the JS compiler from Yui to GCC (to use ES6 in our project), I have read the official document ( Change the minification engine for client libraries in AEM ), but for some reason the GCC is not working.
What we have tried:
This doesn't work.
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
allowProxy="{Boolean}true"
embed="[project.components]"
categories="project.all"
jsProcessor="[default:none,min:gcc;languageIn=ECMASCRIPT6]"/>
This doesn't work either.
If we turn it back to min:yui on the configMgr, it works again, but just minfies the ES5 functions, if we use arrow functions or let/const, it doesn't transform into ES5 (the main reason why we're changing to GCC).
Could you guys please help us?
Thank you!
Solved! Go to Solution.
Views
Replies
Total Likes