JS Console error on Minification

Avatar

Avatar

ArchanaVA

Avatar

ArchanaVA

ArchanaVA

21-02-2020

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]"

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Answers (1)

Answers (1)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

21-02-2020

I would recommend you to use online gcc compiler and check if there are some issues with the js file.