|
|
|
@ -173,7 +173,7 @@ class AssetController extends Controller
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$this->getAssetManager(); // check asset manager configuration is correct |
|
|
|
|
$this->getAssetManager(); // check if asset manager configuration is correct |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -621,11 +621,11 @@ EOD;
|
|
|
|
|
* so corresponding paths should be specified directly. |
|
|
|
|
*/ |
|
|
|
|
return array( |
|
|
|
|
// The list of asset bundles, which files should be included to compression: |
|
|
|
|
// The list of asset bundles to compress: |
|
|
|
|
'bundles' => require('path/to/bundles.php'), |
|
|
|
|
// The list of extensions, which asset files should be included to compression: |
|
|
|
|
// The list of extensions to compress: |
|
|
|
|
'extensions' => require('path/to/namespaces.php'), |
|
|
|
|
// Compression result asset bundle: |
|
|
|
|
// Asset bundle for compression output: |
|
|
|
|
'targets' => array( |
|
|
|
|
'all' => array( |
|
|
|
|
'basePath' => __DIR__, |
|
|
|
|