Skip to content

Commit 43a906c

Browse files
committed
minor #18856 [AssetMapper] Allow passing a list of packages to importmap:update (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Allow passing a list of packages to importmap:update Fixes #18853. Commits ------- be86778 [AssetMapper] Allow passing a list of packages to importmap:update
2 parents 59a1e99 + be86778 commit 43a906c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/asset_mapper.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,16 @@ computers if some files are missing.
248248
such as ``@popperjs/core``. The ``download`` option will download both the main
249249
package *and* its dependencies.
250250

251-
To update all 3rd party packages in your ``importmap.php`` file, run:
251+
To update third-party packages in your ``importmap.php`` file, run:
252252

253253
.. code-block:: terminal
254254
255+
# updates all packages
255256
$ php bin/console importmap:update
256257
258+
# updates only the given list of packages
259+
$ php bin/console importmap:update bootstrap lodash
260+
257261
How does the importmap Work?
258262
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259263

0 commit comments

Comments
 (0)