| @@ 291-298 (lines=8) @@ | ||
| 288 | /** |
|
| 289 | * @return bool|mixed |
|
| 290 | */ |
|
| 291 | protected static function getMinifiedCss() |
|
| 292 | { |
|
| 293 | if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) { |
|
| 294 | return false; |
|
| 295 | } |
|
| 296 | ||
| 297 | return static::getManifestData('css'); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * @return bool|mixed |
|
| @@ 303-310 (lines=8) @@ | ||
| 300 | /** |
|
| 301 | * @return bool|mixed |
|
| 302 | */ |
|
| 303 | protected static function getMinifiedJs() |
|
| 304 | { |
|
| 305 | if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) { |
|
| 306 | return false; |
|
| 307 | } |
|
| 308 | ||
| 309 | return static::getManifestData('js'); |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * @return string |
|