From ea8b58fae34f69105118abd45df5fcdc83703ff1 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 3 Apr 2024 14:36:24 +0200 Subject: [PATCH] Generate manifest by recompile style --- .../install/files/lib/system/style/StyleCompiler.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index 79399724f5..2f3f196f34 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -12,6 +12,7 @@ use wcf\system\application\ApplicationHandler; use wcf\system\event\EventHandler; use wcf\system\exception\SystemException; use wcf\system\SingletonFactory; +use wcf\system\style\command\CreateManifest; use wcf\system\WCF; use wcf\util\FileUtil; use wcf\util\JSON; @@ -321,6 +322,9 @@ final class StyleCompiler extends SingletonFactory ); $this->writeCss($this->getFilenameForStyle($style), $css, $preloadManifest); + + $command = new CreateManifest($style); + $command(); } /** -- 2.20.1