cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is there any OOB way to load non minified javascript files in Hybris?

0 Likes
1,318

Hi Experts,

Is there any way to load non minified JavaScript in site for debugging?

Arun

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

You can use the below mentioned property and add it to your local.properties to disable the JS and CSS minification oob storefront.wro4j.enabled.<sitename>=false

this would disable wro4j and you would be able to see the non minified version of the java scripts and css for debugging.

Former Member
0 Likes

Hi , did the answer help you?

thanks,

Former Member
0 Likes

You can take a look at your wro.xml and look for <js minimize="true"> property in different javascript files. Please note that as per the hybris documentation this might not work for JS files used in storefront add-ons.