File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -959,15 +959,16 @@ This option is enabled by default.
959
959
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
960
960
961
961
Configure the polyfill for older browsers. By default, the `ES module shim `_ is loaded
962
- via a CDN. You can pass the key of an item in ``importmap.php `` or ``false `` to disable
963
- the polyfill loading.
962
+ via a CDN (i.e. the default value for this setting is `es-module-shims `).
963
+ To use a custom polyfill, pass the key of an item in ``importmap.php ``.
964
+ To disable the polyfill, pass ``false ``.
964
965
965
966
.. code-block :: yaml
966
967
967
968
framework :
968
969
asset_mapper :
969
970
importmap_polyfill : false # disable the shim ...
970
- # importmap_polyfill: 'my_import_map ' # ... or pass an importmap name
971
+ # importmap_polyfill: 'custom_polyfill ' # ... or pass a key in your importmap.php file
971
972
972
973
.. tip ::
973
974
You can’t perform that action at this time.
0 commit comments