Thread:Project:Support desk/ JS & CSS loaded with ResourceLoader only load in debug mode

Hi, I'm creating a custom skin from the following the documentation I can find on the subject. I've also created an extension to be installed with the skin to enable some custom functionality and to roll my javascript & css into the combined & minified files MediaWiki outputs through ResourceLoader. Files are loaded as expected and everything works fine until I turn off debug mode ($wgResourceLoaderDebug = false; in LocalSettings) and then ResourceLoader no longer loads the JS & CSS files specified. Am I missing something?

Here's my ResourceModule array from my extension:

in a BeforePageDisplay hook handler, I call OutputPage::addModules to add my resources to the page.

As I said, this all works fine with $wgResourceLoaderDebug = true; my resources are all loaded independently. When it's set to false, my resources aren't rolled into the minified files or loaded separately.

Anyone know what I'm doing wrong?

MediaWiki 1.18.1 on PHP5, Apache2, Mysql5.