since ‎02-02-2018
‎10-12-2019
johns43992246
Level 1
Re: How can we disable strict mode while running min:gcc
Avatar

johns43992246

johns43992246
- Adobe Experience Manager
Thanks Vishu, I tried adding the parameter to the jsProcessor in the HTML Managermin:gcc;languageIn=ECMASCRIPT_2015;strict_mode_input=falseI get the same errors with this configuration. Is there another place I should input the strict_mode_input=false ?

Views

2.1K

Likes

0

Replies

2
How can we disable strict mode while running min:gcc
Avatar

johns43992246

johns43992246
- Adobe Experience Manager
We configured our AEM instance to use these OSGi configurationscom.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.xmlhtmllibmanager.minify="{Boolean}true"htmllibmanager.processor.js="[min:gcc;languageIn=ECMASCRIPT_2015]"The minify errors and when it encounters05.04.2019 12:24:41.774 *ERROR* [0:0:0:0:0:0:0:1 [1554481481510] GET /content/xxxx/xxxx/us/en/xxxxxx/home.html HTTP/1.1] com.google.javascript.jscomp /etc/designs/sites/xxxxxxxx/main/script.js:4023: ERROR - Object literal contains ...

Views

2.3K

Likes

0

Replies

4