Skip to content

Commit fdd2362

Browse files
committed
Reword
1 parent 03e1aa4 commit fdd2362

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

frontend/asset_mapper.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -959,16 +959,19 @@ This option is enabled by default.
959959
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
960960

961961
Configure the polyfill for older browsers. By default, the `ES module shim`_ is loaded
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``.
962+
via a CDN (i.e. the default value for this setting is `es-module-shims`):
965963

966964
.. code-block:: yaml
967965
968966
framework:
969967
asset_mapper:
970-
importmap_polyfill: false # disable the shim ...
971-
# importmap_polyfill: 'custom_polyfill' # ... or pass a key in your importmap.php file
968+
# set this option to false to disable the shim entirely
969+
# (your website/web app won't work in old browsers)
970+
importmap_polyfill: false
971+
972+
# you can also use a custom polyfill by adding it to your importmap.php file
973+
# and setting this option to the key of that file in the importmap.php file
974+
# importmap_polyfill: 'custom_polyfill'
972975
973976
.. tip::
974977

0 commit comments

Comments
 (0)