File tree 2 files changed +16
-11
lines changed
2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ be executed by a browser.
48
48
49
49
.. _ux-note-2 :
50
50
51
- **[2] ** There are some PostCSS plugins available to remove comments from CSS files.
51
+ **[2] ** There are some ` PostCSS `_ plugins available to remove comments from CSS files.
52
52
53
53
.. _frontend-asset-mapper :
54
54
@@ -109,9 +109,10 @@ Other Front-End Articles
109
109
.. _`Webpack` : https://webpack.js.org/
110
110
.. _`Node.js` : https://nodejs.org/
111
111
.. _`Webpack Encore screencast series` : https://symfonycasts.com/screencast/webpack-encore
112
- .. _StimulusBundle Documentation : https://symfony.com/bundles/StimulusBundle/current/index.html
113
- .. _Stimulus/UX : https://symfony.com/bundles/StimulusBundle/current/index.html
114
- .. _Stimulus : https://stimulus.hotwired.dev/
115
- .. _Turbo : https://turbo.hotwired.dev/
116
- .. _Symfony UX : https://ux.symfony.com
117
- .. _API Platform : https://api-platform.com/
112
+ .. _`StimulusBundle Documentation` : https://symfony.com/bundles/StimulusBundle/current/index.html
113
+ .. _`Stimulus/UX` : https://symfony.com/bundles/StimulusBundle/current/index.html
114
+ .. _`Stimulus` : https://stimulus.hotwired.dev/
115
+ .. _`Turbo` : https://turbo.hotwired.dev/
116
+ .. _`Symfony UX` : https://ux.symfony.com
117
+ .. _`API Platform` : https://api-platform.com/
118
+ .. _`PostCSS` : https://postcss.org/
Original file line number Diff line number Diff line change @@ -930,15 +930,19 @@ This option is enabled by default.
930
930
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
931
931
932
932
Configure the polyfill for older browsers. By default, the `ES module shim `_ is loaded
933
- via a CDN. You can pass the key of an item in ``importmap.php `` or ``false `` to disable
934
- the polyfill loading.
933
+ via a CDN (i.e. the default value for this setting is `es-module-shims `):
935
934
936
935
.. code-block :: yaml
937
936
938
937
framework :
939
938
asset_mapper :
940
- importmap_polyfill : false # disable the shim ...
941
- # importmap_polyfill: 'my_import_map' # ... or pass an importmap name
939
+ # set this option to false to disable the shim entirely
940
+ # (your website/web app won't work in old browsers)
941
+ importmap_polyfill : false
942
+
943
+ # you can also use a custom polyfill by adding it to your importmap.php file
944
+ # and setting this option to the key of that file in the importmap.php file
945
+ # importmap_polyfill: 'custom_polyfill'
942
946
943
947
.. tip ::
944
948
You can’t perform that action at this time.
0 commit comments