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:----Idtt6/K6SKqfZXMZzz2o2Urixg0bulWSYXuOm2/DC2z6wlG4XbS4gQnRA6TPbgWq4J0Y/uWyX/5DtqNxqbMXcvgol5glBGwfFqDDvsxUNUI0/WyBpSxyST99Y2vVIDwY6ghNS8rfaANcdgCiCMEJ2GGUtYhm2WAwilPOdzgxzkKgYEEuEq/d9uXYT5JPMin/znD/WLhDHzudpC7AyzKTvdnwj0SItMcPnQQP2XMaCozogBALT0u7qOeuWs3OMb0lI89G+VqOPwbMo78LbgRQZ5ng+h+UrsjyjqEQE85R4+xQgz3XrOI2ltgVUpNtP1tUmWMbu9o17hggCzLWuiRTVqvUfKKp4GWzlQlk0j8eMhLs1zlx7Rj4R8cAD/om2IATfeIBDUQpDibNpcwJOZxgj97/bfUgsYEJLko7QLv1++Z/xscLkRu+5aUTgIsh0nHLwG6F64LiHW0mVezr7RVeiSl6n9YZJRqU06a78qOTH7sm4AAVkzgIjzwqvoO4A6+NvgLBpYbN1bal6bPqJH/BoSQNVd9OUMyGNYktwfY0jH7bjqEGL8bSEmBLCtbkfhCiLyXgmoTQEec27SiDiyMrR1Q+4TFgvu7X2+rhLkYeBZyVa6XE0g8t1XfvfTgtZ6EOuIECwWQqxPPUy/GToR/KB/NWsPkMBLi1flIXnXBpa0c=----ATTACHMENT:----NDk3MTMwODQ4OTgwODkwNSA1NzQwMjM4MDgxNjU2NTczIDM1MzQyMzY2MzQ5MTc0Ng==