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
This commit is contained in:
Ryan Weaver
2023-12-10 18:35:15 +01:00
committed by GitHub
parent cf895a2485
commit 0fcca50482
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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.
+3
View File
@@ -9,6 +9,9 @@
"/%PUBLIC_DIR%/assets/",
"/assets/vendor"
],
"composer-scripts": {
"importmap:install": "symfony-cmd"
},
"add-lines": [
{
"file": "templates/base.html.twig",