When try to Minify files under clientlibs using JsProcessor, facing some Console errors and the files are not minified too.
Console errors
Uncaught ReferenceError: $jscomp is not defined
because its MIME type ('') is not executable, and strict MIME type checking is enabled.
USING AEM 6.4
jsProcessor="[default:none,min:gcc;languageIn=ECMASCRIPT_2015;compilationLevel=whitespace]"
Solved! Go to Solution.
Views
Replies
Total Likes
Is this issue resolved?
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/minification/qaq-p/354801 is this same?
I would recommend you to use online gcc compiler and check if there are some issues with the js file.
Is this issue resolved?
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/minification/qaq-p/354801 is this same?
I have the same issue since Servicepack 6.5.12 with a clientlib which is configured
jsProcessor="[default:none,min:gcc;languageIn=STABLE;compilationLevel=whitespace]"
. Apparently compilationlevel=whitespace is the issue here. For some reason the definition of jscomp is missing. Workaround is to use compilationLevel=simple.
Views
Likes
Replies