re-enabled html minification, moved to raivisdejus/html-minifier
This commit is contained in:
1 parent
9e7874e81a
commit
69eb48d986
1 file changed
+1
-1
@@ -214,7 +214,7 @@ class TemplateService
|
||||
$path = $destDir.'/'.$name.'.'.$this->translator->getTranslator()->getLocale().'.html';
|
||||
|
||||
$html = $this->twig->render($template, $vars);
|
||||
//$html = $this->minifier->minify($html);
|
||||
$html = $this->minifier->minify($html);
|
||||
if (!file_put_contents($path, $html)) {
|
||||
throw new \RuntimeException('Error writing output file: '.$path);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user