Skip to content

Commit 1fefa52

Browse files
committed
minor #19463 [Frontend] Adding info about comments (ThomasLandauer)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Frontend] Adding info about comments Page: https://symfony.com/doc/6.4/frontend.html * The info about AssetMapper is taken from symfony/symfony#52939 (Point 3) * For Encore I merely guessed it ;-) Commits ------- 076079d [Frontend] Adding info about comments
2 parents f1b85ce + 076079d commit 1fefa52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Supports `Stimulus/UX`_ yes yes
3434
Supports Sass/Tailwind :ref:`yes <asset-mapper-tailwind>` yes
3535
Supports React, Vue, Svelte? yes :ref:`[1] <ux-note-1>` yes
3636
Supports TypeScript :ref:`yes <asset-mapper-ts>` yes
37+
Removes comments from JavaScript no yes
38+
Removes comments from CSS no no :ref:`[2] <ux-note-2>`
3739
Versioned assets always optional
3840
================================ ================================== ==========
3941

@@ -44,6 +46,10 @@ need to use their native tools for pre-compilation. Also, some features (like
4446
Vue single-file components) cannot be compiled down to pure JavaScript that can
4547
be executed by a browser.
4648

49+
.. _ux-note-2:
50+
51+
**[2]** There are plugins available to remove comments from CSS files.
52+
4753
.. _frontend-asset-mapper:
4854

4955
AssetMapper (Recommended)

0 commit comments

Comments
 (0)