Skip to content

Commit

Permalink
Asset mapper install as composer script (#1267)
Browse files Browse the repository at this point in the history
* import map -> importmap to match Symfony core generation

* [symfony/asset-mapper] Adding importmap:install as a composer script
  • Loading branch information
weaverryan authored Dec 10, 2023
1 parent cf895a2 commit 0fcca50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion symfony/asset-mapper/6.4/importmap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Returns the import map for this application.
* Returns the importmap for this application.
*
* - "path" is a path inside the asset mapper system. Use the
* "debug:asset-map" command to see the full list of paths.
Expand Down
3 changes: 3 additions & 0 deletions symfony/asset-mapper/6.4/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"/%PUBLIC_DIR%/assets/",
"/assets/vendor"
],
"composer-scripts": {
"importmap:install": "symfony-cmd"
},
"add-lines": [
{
"file": "templates/base.html.twig",
Expand Down

0 comments on commit 0fcca50

Please sign in to comment.