N°2982 - Speed up SCSS themes compilation during setup : fix precompiled css theme generated

This commit is contained in:
odain
2021-02-15 17:25:29 +01:00
parent e2940150c3
commit 4870893fc2
3 changed files with 27 additions and 139 deletions

View File

@@ -2896,6 +2896,8 @@ EOF;
{
SetupLog::Info("Replacing theme '$sThemeId' precompiled file in file $sPostCompilationLatestPrecompiledFile for next setup.");
copy($sThemeDir.'/main.css', $sPostCompilationLatestPrecompiledFile);
}else {
SetupLog::Info("No theme '$sThemeId' compilation was required during setup.");
}
}
$this->Log(sprintf('Themes compilation took: %.3f ms for %d themes.', (microtime(true) - $fStart)*1000.0, count($aThemes)));