Skip to content

Commit 0fcca50

Browse files
authored
Asset mapper install as composer script (#1267)
* import map -> importmap to match Symfony core generation * [symfony/asset-mapper] Adding importmap:install as a composer script
1 parent cf895a2 commit 0fcca50

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

symfony/asset-mapper/6.4/importmap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Returns the import map for this application.
4+
* Returns the importmap for this application.
55
*
66
* - "path" is a path inside the asset mapper system. Use the
77
* "debug:asset-map" command to see the full list of paths.

symfony/asset-mapper/6.4/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"/%PUBLIC_DIR%/assets/",
1010
"/assets/vendor"
1111
],
12+
"composer-scripts": {
13+
"importmap:install": "symfony-cmd"
14+
},
1215
"add-lines": [
1316
{
1417
"file": "templates/base.html.twig",

0 commit comments

Comments
 (0)