mirror of
https://github.com/symfony/recipes.git
synced 2026-09-14 16:46:24 +03:00
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:
@@ -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.
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
"/%PUBLIC_DIR%/assets/",
|
||||
"/assets/vendor"
|
||||
],
|
||||
"composer-scripts": {
|
||||
"importmap:install": "symfony-cmd"
|
||||
},
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
|
||||
Reference in New Issue
Block a user