fix scss support

This commit is contained in:
Ulf Gebhardt 2023-11-02 20:46:41 +01:00
parent 3a37b44d34
commit 5a08816550
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 2 additions and 2 deletions

2
cache/cache_css.php vendored
View File

@ -72,7 +72,7 @@ class cache_css {
$tmp = explode(".", $path); //rediculus
if(strtolower(end($tmp)) == 'scss'){
// Compile SCSS
$minifier->add($sccs->compile(file_get_contents($path)));
$minifier->add($sccs->compileString(file_get_contents($path))->getCss());
} else {
// Normal CSS
$minifier->add($path);

@ -1 +1 @@
Subproject commit 3d829591ea59eb1fbc92844b88659d921484f12a
Subproject commit d48b252986b739c190ce5b569cf375cb9fd6f81c