Skip to content

Commit 2b0cabb

Browse files
alamiraultjaviereguiluz
authored andcommitted
[AssetMapper] Automatically preload CSS files if WebLink available
1 parent a6cabb2 commit 2b0cabb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/asset_mapper.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,14 @@ same way::
677677
live in your ``importmap.php`` file, so their preload setting is handled
678678
explicitly in that file.
679679

680+
For used CSS files, a "preload" tag will automatically be rendered onto your page
681+
when the :doc:`WebLink Component </web_link>` is available.
682+
683+
.. versionadded:: 6.4
684+
685+
Automatic preloading of CSS files when WebLink is available was
686+
introduced in Symfony 6.4.
687+
680688
Frequently Asked Questions
681689
--------------------------
682690

0 commit comments

Comments
 (0)