From 2243ab9246cb22dfe571f262ac30698d897b1585 Mon Sep 17 00:00:00 2001 From: Florian Cellier Date: Fri, 21 Mar 2025 12:37:40 +0100 Subject: [PATCH] doc: Add doc for option `--dry-run` for the command `importmap:require` of the AssetMapper component --- frontend/asset_mapper.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index d68c77c0105..2354485a2bf 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -215,6 +215,11 @@ to add any `npm package`_: $ php bin/console importmap:require bootstrap +.. tip:: + + The command takes the well-know ``--dry-run`` option to simulate the installation of the packages, useful + to show what will be installed without altering anything. + This adds the ``bootstrap`` package to your ``importmap.php`` file:: // importmap.php