| @@ 303-310 (lines=8) @@ | ||
| 300 | /** |
|
| 301 | * @return bool|mixed |
|
| 302 | */ |
|
| 303 | protected static function getMinifiedCss() |
|
| 304 | { |
|
| 305 | if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) { |
|
| 306 | return false; |
|
| 307 | } |
|
| 308 | ||
| 309 | return static::getManifestData('css'); |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * @return bool|mixed |
|
| @@ 315-322 (lines=8) @@ | ||
| 312 | /** |
|
| 313 | * @return bool|mixed |
|
| 314 | */ |
|
| 315 | protected static function getMinifiedJs() |
|
| 316 | { |
|
| 317 | if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) { |
|
| 318 | return false; |
|
| 319 | } |
|
| 320 | ||
| 321 | return static::getManifestData('js'); |
|
| 322 | } |
|
| 323 | ||
| 324 | /** |
|
| 325 | * @return string |
|