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 May 13, 2024
1 parent 3b5ed46 commit 07c22ea
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 @@ -39,12 +39,12 @@
<service id="webpack_encore.entrypoint_lookup.cache_warmer" class="Symfony\WebpackEncoreBundle\CacheWarmer\EntrypointCacheWarmer">
<tag name="kernel.cache_warmer" />
<argument /> <!-- build list of entrypoint paths -->
<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 07c22ea

Please sign in to comment.