Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[AssetMapper] Add docs forimportmap:install command#18785

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes fromall 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
7 changes: 5 additions & 2 deletionsfrontend/asset_mapper.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -233,8 +233,11 @@ If you want to download the package locally, use the ``--download`` option:
$ php bin/console importmap:require bootstrap --download
This will download the package into an ``assets/vendor/`` directory and update
the ``importmap.php`` file to point to it. You *should* commit this file to
your repository.
the ``importmap.php`` file to point to it. You can either commit this directory
to your repository, or ignore the directory in your ``.gitignore`` config file.
If the directory is ignored, you can run the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is it « can » or « must » ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think in 6.4, we should change the workflow from "must commit" to "should ignore". Let's rework the language for that - it'll be just likecomposer install: it's a "must" (assuming you are downloading assets locally).

In fact, would you mind opening a new recipe PR for AssetMapper 6.4 that includesassets/vendor/ in.gitignore?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

While merging I did some tweaks according to your comments. See5909e6b

``php bin/console importmap:install`` command to download the files on other
computers if some files are missing.

..note::

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp