From ea212df3838701bf6123aa4bebfa39991d024df0 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 8 Feb 2024 20:42:06 +0100 Subject: [PATCH] [AssetMapper] Minor Page: https://symfony.com/doc/6.4/frontend/asset_mapper.html#handling-css This is indeed better than https://github.com/symfony/symfony-docs/pull/19453 was; and much better than before. 1. "valid" in which sense? Valid importmap syntax? --- frontend/asset_mapper.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index 345973332a0..926ce322a53 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -421,8 +421,8 @@ the page as ``link`` tags in the order they were imported. Importing a CSS file is *not* something that is natively supported by JavaScript modules. AssetMapper makes this work by adding a special importmap - entry for each CSS file. These special entries are valid valid, but do nothing. - AssetMapper adds a ```` tag for each CSS file, but when the JavaScript + entry for each CSS file. These special entries are valid, but do nothing. + AssetMapper adds a ```` tag for each CSS file, but when JavaScript executes the ``import`` statement, nothing additional happens. .. _asset-mapper-3rd-party-css: