@@ -35,7 +35,7 @@ Supports Sass/Tailwind :ref:`yes <asset-mapper-tailwind>` yes
35
35
Supports React, Vue, Svelte? yes :ref: `[1] <ux-note-1 >` yes
36
36
Supports TypeScript :ref: `yes <asset-mapper-ts >` yes
37
37
Removes comments from JavaScript no :ref: `[2] <ux-note-2 >` yes
38
- Removes comments from CSS no :ref: `[2] <ux-note-2 >` no
38
+ Removes comments from CSS no :ref: `[2] <ux-note-2 >` yes :ref: ` [4] < ux-note-4 >`
39
39
Versioned assets always optional
40
40
Can update 3rd party packages yes no :ref: `[3] <ux-note-3 >`
41
41
================================ ================================== ==========
@@ -56,6 +56,11 @@ be executed by a browser.
56
56
57
57
**[3] ** If you use ``npm ``, there are update checkers available (e.g. ``npm-check ``).
58
58
59
+ .. _ux-note-4 :
60
+
61
+ **[4] ** CSS comments can be removed using `CssMinimizerPlugin `_, which is included
62
+ in Webpack Encore and configurable via ``Encore.configureCssMinimizerPlugin() ``.
63
+
59
64
.. _frontend-asset-mapper :
60
65
61
66
AssetMapper (Recommended)
@@ -153,3 +158,4 @@ Other Front-End Articles
153
158
.. _`SensioLabs Minify Bundle` : https://github.com/sensiolabs/minify-bundle
154
159
.. _`AssetMapper screencast series` : https://symfonycasts.com/screencast/asset-mapper
155
160
.. _`API Platform screencast series` : https://symfonycasts.com/screencast/api-platform
161
+ .. _`CssMinimizerPlugin` : https://webpack.js.org/plugins/css-minimizer-webpack-plugin
0 commit comments