From 5b8451403fd379349498c012a4557e0f72967461 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sun, 31 Mar 2024 18:57:37 +0200 Subject: [PATCH] Remove ImportMapConfigReader dependency from PwaRuntime The ImportMapConfigReader dependency was removed from PwaRuntime.php, thus simplifying the Workbox URL generation process. The URL is now directly derived, resulting in a cleaner, more readable and easily maintainable codebase. --- src/Twig/PwaRuntime.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Twig/PwaRuntime.php b/src/Twig/PwaRuntime.php index ece1c22..e55388c 100644 --- a/src/Twig/PwaRuntime.php +++ b/src/Twig/PwaRuntime.php @@ -8,7 +8,6 @@ use SpomkyLabs\PwaBundle\Dto\Icon; use SpomkyLabs\PwaBundle\Dto\Manifest; use Symfony\Component\AssetMapper\AssetMapperInterface; -use Symfony\Component\AssetMapper\ImportMap\ImportMapConfigReader; use Symfony\Component\AssetMapper\MappedAsset; use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\Mime\MimeTypes;