You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/asset_mapper.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -955,6 +955,21 @@ rendered by the ``{{ importmap() }}`` Twig function:
955
955
importmap_script_attributes:
956
956
crossorigin: 'anonymous'
957
957
958
+
``framework.asset_mapper.config_reader_id``
959
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
960
+
961
+
Sometimes you may want to create your own config reader to load your importmap or use a custom one from a 3rd party package. You can do this by creating a service that implements ``ImportMapConfigReaderInterface`` and then setting the ``config_reader_id`` option:
0 commit comments