From 69eb48d986c61bc16ece0345a52cf94893d4d084 Mon Sep 17 00:00:00 2001 From: magdev Date: Sat, 15 Dec 2018 11:45:21 +0100 Subject: [PATCH] re-enabled html minification, moved to raivisdejus/html-minifier --- src/Service/TemplateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/TemplateService.php b/src/Service/TemplateService.php index 846d4cd..ec2be45 100644 --- a/src/Service/TemplateService.php +++ b/src/Service/TemplateService.php @@ -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); }