mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
[AssetMapper] Removing PostCSS
Page: https://symfony.com/doc/6.4/frontend.html Sorry for the back-and-forth! 2 reasons for deleting again: * I was thinking that PostCSS is some de-facto standard, but it isn't * It's odd to "recommend" something for CSS, but nothing for JS. I just suggested to integrate minifying into AssetMapper: https://github.com/symfony/symfony/issues/54070
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 yes
|
||||
Removes comments from CSS no :ref:`[2] <ux-note-2>` no :ref:`[2] <ux-note-2>`
|
||||
Removes comments from CSS no no
|
||||
Versioned assets always optional
|
||||
================================ ================================== ==========
|
||||
|
||||
@@ -46,10 +46,6 @@ need to use their native tools for pre-compilation. Also, some features (like
|
||||
Vue single-file components) cannot be compiled down to pure JavaScript that can
|
||||
be executed by a browser.
|
||||
|
||||
.. _ux-note-2:
|
||||
|
||||
**[2]** There are some `PostCSS`_ plugins available to remove comments from CSS files.
|
||||
|
||||
.. _frontend-asset-mapper:
|
||||
|
||||
AssetMapper (Recommended)
|
||||
|
||||
Reference in New Issue
Block a user