Skip to content

Commit 16af8a3

Browse files
committed
bug #232 fix: correctly wire the build-time file into kernel.build_dir (dkarlovi, Kocal)
This PR was merged into the 2.x branch. Discussion ---------- fix: correctly wire the build-time file into kernel.build_dir See symfony/symfony#50357 /cc `@Okhoshi` Commits ------- 9f2e8b5 fix(config): remove useless service from #236 e9ef4b5 fix: correctly wire the build-time file into kernel.build_dir
2 parents 6be5556 + 9f2e8b5 commit 16af8a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Resources/config/services.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
<tag name="kernel.cache_warmer" />
4141
<argument /> <!-- build list of entrypoint paths -->
4242
<argument type="service" id="http_client" on-invalid="null" />
43-
<argument>%kernel.cache_dir%/webpack_encore.cache.php</argument>
43+
<argument>%kernel.build_dir%/webpack_encore.cache.php</argument>
4444
</service>
4545

4646
<service id="webpack_encore.cache" class="Symfony\Component\Cache\Adapter\PhpArrayAdapter">
4747
<factory class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" method="create" />
48-
<argument>%kernel.cache_dir%/webpack_encore.cache.php</argument>
48+
<argument>%kernel.build_dir%/webpack_encore.cache.php</argument>
4949
<argument type="service" id="cache.webpack_encore" />
5050
</service>
5151

@@ -68,7 +68,5 @@
6868
<tag name="kernel.event_subscriber" />
6969
<argument type="service" id="webpack_encore.entrypoint_lookup_collection" />
7070
</service>
71-
72-
<service id="webpack_encore.http_client" alias="http_client" />
7371
</services>
7472
</container>

0 commit comments

Comments
 (0)