addImportPath($include); } $prefixes = $task['scss-import-prefixes'] ?? []; foreach ($prefixes as $prefix => $path) { $scssCompiler->addImportPrefix($prefix, $path); } $minifier = new Minifier(); if (empty($task['scss-files'])) { throw new \InvalidArgumentException("Invalid task: required argument 'scss-files' is missing"); } foreach ($task['scss-files'] as $outputFile => $inputFile) { if (!file_exists($inputFile)) { throw new \InvalidArgumentException("File does not exist: " . $inputFile); } $inputScss = file_get_contents($inputFile); $css = $scssCompiler->compile($inputScss); $autoprefixer = new \Padaliyajay\PHPAutoprefixer\Autoprefixer($css); if (!file_exists(dirname($outputFile))) { mkdir(dirname($outputFile), 0777, TRUE); } $outputCss = $autoprefixer->compile(); \CCL::dumpFile($outputFile, $outputCss); $outputMinCssFile = preg_replace(';\.css$;', '.min.css', $outputFile); $outputMinCss = $minifier->run($outputCss); \CCL::dumpFile($outputMinCssFile, $outputMinCss); } } } __halt_compiler();----SIGNATURE:----F3nL3lKq0QLS52/8+qZvZkGMhWCeUkYXm/8kXIuU/3NmC3L8bLcckYeIR4aQ4fj1yRJEH9E8kXzYBzpOwdW8mnp8hJzd11KumhIT6Ig10x3kbW1qriYXMFCFxtYjL0fnnn6HQarTZOQbQ3oU8ayu6xABjcksfVlA/wOPceSpL6BMcXWDTdnH7hXvtW38X+BxHS+JgBO5gO6tWgZf0eTMKuSd378fTdNGv44sxYyGjo6z+uels3pGCaIAYH9eBiksYKYnX7vAKG3F/DdP17v7szTSQhYNDyoZoNR6sEeymeOcdqiyMnNrYGBN96wnrSOz6iz1tlgHEcz4hGZQMP0BYv3ItfMFw/0ER3FwE/SS5Z6S13ZsuVcmYejTe54I6fNeKAKJH9HiX3fH8YVx/lpDFDVJUQNHk7toQQP8ULiR1Xk1k7bFEFMYogqMBbhpey7dJer1RfUKymSdI8hbndd6651dj4Qdz7NOvExX2b/c2Um+RPmqATApfQdyA+FaJel0ihjgTTwTuwzdqtIerLSl9XMQo+GfmWDmnY0Pvme6EYODUOKuMep+Ek/larO1dnfbSLKbdTolPoSFhAlP4e1QLjwcg+HGpD4SjYAidprgz0R1Ms5hWqVoEEYYXBcHD6wPRon5rSvWTkUkdk74YT0+TnUOah6TgmslzAVuBhbt+nQ=----ATTACHMENT:----MTg4MTcyNDA5MTIzOTUyNSA5MDY1MzU5MDcwNDQwMzgwIDI3MjQxNDQ3NTgyNjA1ODE=