Skip to content

Commit 35a7d28

Browse files
committed
Reword
1 parent abc5f6a commit 35a7d28

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/asset_mapper.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,10 @@ 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. AssetMapper makes this work by adding an importmap entry for each CSS file,
424-
and then adds a ``link`` tag for each CSS file.
423+
JavaScript modules. AssetMapper makes this work by adding a special importmap
424+
entry for each CSS file. These special entries are valid valid, but do nothing.
425+
AssetMapper adds a ``<link>`` tag for each CSS file, but when the JavaScript
426+
executes the ``import`` statement, nothing additional happens.
425427

426428
.. _asset-mapper-3rd-party-css:
427429

0 commit comments

Comments
 (0)