File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -959,16 +959,19 @@ This option is enabled by default.
959959~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
960960
961961Configure 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
You can’t perform that action at this time.
0 commit comments