File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,14 +1032,20 @@ you expect are being included in the asset map.
1032
1032
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1033
1033
1034
1034
Configure the polyfill for older browsers. Default is `ES module shim `_. You can pass
1035
- any URL to be included , or ``false `` to disable the polyfill.
1035
+ an importmap name to load the polyfill , or ``false `` to disable the polyfill loading .
1036
1036
1037
1037
.. code-block :: yaml
1038
1038
1039
1039
framework :
1040
1040
asset_mapper :
1041
1041
importmap_polyfill : false # disable the shim ...
1042
- # importmap_polyfill: 'https://...' # ... or pass some custom URL
1042
+ # importmap_polyfill: 'my_import_map' # ... or pass an importmap name
1043
+
1044
+ .. versionadded :: 6.4
1045
+
1046
+ Passing an importmap name in ``importmap_polyfill `` was
1047
+ introduced in Symfony 6.4. Prior to this, you could pass ``false ``
1048
+ or a custom URL to load the polyfill.
1043
1049
1044
1050
``framework.asset_mapper.importmap_script_attributes ``
1045
1051
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments