How to turn off minimizing, minification
-
I’m having various issues with customizr using minimized versions of javascript that cause errors and even though I’ve set both
define( 'CZR_DEV_MODE', true );
define( 'CZR_DEBUG_MODE', true ); /* force customizr theme to not minify things. */Customizr still uses minified versions of files like tc-scripts.min.js instead of tc-scripts.js.
It’s also using a minified version of “underscore” (_) which seems to not be loading at all because there’s an error:Uncaught TypeError: Cannot read properties of null (reading 'isObject')
where the “null” object is just “_”. Even though underscore.js is included withscript type="text/javascript" src="https://www.ajexperience.com/wp-includes/js/underscore.min.js?ver=1.13.4" id="underscore-js"
and the file does exist there, it’s just not loading since _ is still null in the console.Is there a way to actually turn off all of this minification that seems to be breaking things for me?
thanks
- You must be logged in to reply to this topic.