Skip to content

Commit

Permalink
Merge pull request #184 from Sander-Toonen/patch-1
Browse files Browse the repository at this point in the history
Fix compiler pass order
  • Loading branch information
lsmith77 authored Dec 19, 2017
2 parents 0051978 + a045d0e commit 4e4926c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LiipThemeBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function build(ContainerBuilder $container)
parent::build($container);

$container->addCompilerPass(new ThemeCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 100);
$container->addCompilerPass(new TemplateResourcesPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 10);
$container->addCompilerPass(new AsseticTwigFormulaPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 10);
$container->addCompilerPass(new TemplateResourcesPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -10);
$container->addCompilerPass(new AsseticTwigFormulaPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -10);
}
}

0 comments on commit 4e4926c

Please sign in to comment.