File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Supports Sass/Tailwind :ref:`yes <asset-mapper-tailwind>` yes
3535Supports React, Vue, Svelte? yes :ref: `[1] <ux-note-1 >` yes
3636Supports TypeScript :ref: `yes <asset-mapper-ts >` yes
3737Removes 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 >`
3939Versioned assets always optional
4040Can update 3rd party packages yes no :ref: `[3] <ux-note-3 >`
4141================================ ================================== ==========
@@ -56,6 +56,10 @@ be executed by a browser.
5656
5757**[3] ** If you use ``npm ``, there are update checkers available (e.g. ``npm-check ``).
5858
59+ .. _ux-note-4 :
60+
61+ **[4] ** Comments from CSS code can be removed with `CssMinimizerPlugin `_, configurable with ``Encore.configureCssMinimizerPlugin() ``.
62+
5963.. _frontend-asset-mapper :
6064
6165AssetMapper (Recommended)
@@ -153,3 +157,4 @@ Other Front-End Articles
153157.. _`SensioLabs Minify Bundle` : https://github.com/sensiolabs/minify-bundle
154158.. _`AssetMapper screencast series` : https://symfonycasts.com/screencast/asset-mapper
155159.. _`API Platform screencast series` : https://symfonycasts.com/screencast/api-platform
160+ .. _`CssMinimizerPlugin` : https://webpack.js.org/plugins/css-minimizer-webpack-plugin
You can’t perform that action at this time.
0 commit comments