MyModulePage_Controller::getModuleAssetFile
Determins if the given asset file has a minified version. If enviroment is not dev, and a minified version exists, it returns the path to the minified version. Otherwise it returns the full file.
Signature
public function getModuleAssetFile(string
$assetFile )
Parameters
$assetFile
— string- Path to asset file to include
Returns
- string
- Path to the asset file version to include