Skip to content

Commit

Permalink
fix: correctly wire the build-time file into kernel.build_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored and Kocal committed Oct 1, 2024
1 parent 6be5556 commit e9ef4b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
<tag name="kernel.cache_warmer" />
<argument /> <!-- build list of entrypoint paths -->
<argument type="service" id="http_client" on-invalid="null" />
<argument>%kernel.cache_dir%/webpack_encore.cache.php</argument>
<argument>%kernel.build_dir%/webpack_encore.cache.php</argument>
</service>

<service id="webpack_encore.cache" class="Symfony\Component\Cache\Adapter\PhpArrayAdapter">
<factory class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" method="create" />
<argument>%kernel.cache_dir%/webpack_encore.cache.php</argument>
<argument>%kernel.build_dir%/webpack_encore.cache.php</argument>
<argument type="service" id="cache.webpack_encore" />
</service>

Expand Down

0 comments on commit e9ef4b5

Please sign in to comment.