Skip to content

Commit abc5f6a

Browse files
committed
minor #19453 [AssetMapper] Deleting duplicated sentence (ThomasLandauer)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [AssetMapper] Deleting duplicated sentence Page: https://symfony.com/doc/6.4/frontend/asset_mapper.html#handling-css Besides "nothing additional happens" didn't make sense to me. Commits ------- 035a424 [AssetMapper] Deleting duplicated sentence
2 parents 6741d58 + 035a424 commit abc5f6a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

frontend/asset_mapper.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,8 @@ the page as ``link`` tags in the order they were imported.
420420
.. note::
421421

422422
Importing a CSS file is *not* something that is natively supported by
423-
JavaScript modules and normally causes an error. AssetMapper makes this
424-
work by adding an importmap entry for each CSS file that is valid, but
425-
does nothing. AssetMapper adds a ``link`` tag for each CSS file, but when
426-
the JavaScript executes the ``import`` statement, nothing additional happens.
423+
JavaScript modules. AssetMapper makes this work by adding an importmap entry for each CSS file,
424+
and then adds a ``link`` tag for each CSS file.
427425

428426
.. _asset-mapper-3rd-party-css:
429427

0 commit comments

Comments
 (0)