File tree 1 file changed +8
-5
lines changed
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.
959
959
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
960
960
961
961
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 `):
965
963
966
964
.. code-block :: yaml
967
965
968
966
framework :
969
967
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'
972
975
973
976
.. tip ::
974
977
You can’t perform that action at this time.
0 commit comments