Skip to content

[AssetMapper] Allow passing a list of packages to importmap:update #18856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion frontend/asset_mapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,16 @@ computers if some files are missing.
such as ``@popperjs/core``. The ``download`` option will download both the main
package *and* its dependencies.

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

.. code-block:: terminal

# updates all packages
$ php bin/console importmap:update

# updates only the given list of packages
$ php bin/console importmap:update bootstrap lodash

How does the importmap Work?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down