mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
[Frontend] Correct "Removes comments from CSS" comparison
This commit is contained in:
@@ -35,7 +35,7 @@ Supports Sass/Tailwind :ref:`yes <asset-mapper-tailwind>` yes
|
||||
Supports React, Vue, Svelte? yes :ref:`[1] <ux-note-1>` yes
|
||||
Supports TypeScript :ref:`yes <asset-mapper-ts>` yes
|
||||
Removes comments from JavaScript no :ref:`[2] <ux-note-2>` yes
|
||||
Removes comments from CSS no :ref:`[2] <ux-note-2>` no
|
||||
Removes comments from CSS no :ref:`[2] <ux-note-2>` yes :ref:`[4] <ux-note-4>`
|
||||
Versioned assets always optional
|
||||
Can update 3rd party packages yes no :ref:`[3] <ux-note-3>`
|
||||
================================ ================================== ==========
|
||||
@@ -56,6 +56,10 @@ be executed by a browser.
|
||||
|
||||
**[3]** If you use ``npm``, there are update checkers available (e.g. ``npm-check``).
|
||||
|
||||
.. _ux-note-4:
|
||||
|
||||
**[4]** Comments from CSS code can be removed with `CssMinimizerPlugin`_, configurable with ``Encore.configureCssMinimizerPlugin()``.
|
||||
|
||||
.. _frontend-asset-mapper:
|
||||
|
||||
AssetMapper (Recommended)
|
||||
@@ -153,3 +157,4 @@ Other Front-End Articles
|
||||
.. _`SensioLabs Minify Bundle`: https://github.com/sensiolabs/minify-bundle
|
||||
.. _`AssetMapper screencast series`: https://symfonycasts.com/screencast/asset-mapper
|
||||
.. _`API Platform screencast series`: https://symfonycasts.com/screencast/api-platform
|
||||
.. _`CssMinimizerPlugin`: https://webpack.js.org/plugins/css-minimizer-webpack-plugin
|
||||
|
||||
Reference in New Issue
Block a user