Skip to content

Commit 26d27b1

Browse files
[AssetMapper] Merging outdated and update
Page: https://symfony.com/doc/6.4/frontend/asset_mapper.html#importing-3rd-party-javascript-packages Reason: No need for 2 code blocks containing almost the same.
1 parent b8f6679 commit 26d27b1

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

frontend/asset_mapper.rst

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -228,30 +228,23 @@ command to download the files on other computers if some are missing:
228228

229229
The ``importmap:install`` command was introduced in Symfony 6.4.
230230

231-
You can check for available updates for your third-party packages by running:
231+
You can update your third-party packages to their current versions by running:
232232

233233
.. code-block:: terminal
234234
235235
# check for updates for all packages
236236
$ php bin/console importmap:outdated
237+
# update them
238+
$ php bin/console importmap:update
237239
238-
# check for updates for the given list of packages
240+
# only for the given list of packages
241+
$ php bin/console importmap:update bootstrap lodash
239242
$ php bin/console importmap:outdated bootstrap lodash
240243
241244
.. versionadded:: 6.4
242245

243246
The ``importmap:outdated`` command was introduced in Symfony 6.4.
244247

245-
To update third-party packages in your ``importmap.php`` file, run:
246-
247-
.. code-block:: terminal
248-
249-
# updates all packages
250-
$ php bin/console importmap:update
251-
252-
# updates only the given list of packages
253-
$ php bin/console importmap:update bootstrap lodash
254-
255248
How does the importmap Work?
256249
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257250

0 commit comments

Comments
 (0)