Updated Symfony Recipes - symfony/asset-mapper

This commit is contained in:
2025-10-21 22:32:03 +02:00
parent ca13863c41
commit da71f813cb
3 changed files with 13 additions and 7 deletions
+6
View File
@@ -3,3 +3,9 @@ framework:
# The paths to make available to the asset mapper. # The paths to make available to the asset mapper.
paths: paths:
- assets/ - assets/
missing_import_mode: strict
when@prod:
framework:
asset_mapper:
missing_import_mode: warn
+6 -6
View File
@@ -70,18 +70,18 @@
] ]
}, },
"symfony/asset-mapper": { "symfony/asset-mapper": {
"version": "7.0", "version": "7.3",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "6.4", "version": "6.4",
"ref": "6c28c471640cc2c6e60812ebcb961c526ef8997f" "ref": "5ad1308aa756d58f999ffbe1540d1189f5d7d14a"
}, },
"files": [ "files": [
"./assets/app.js", "assets/app.js",
"./assets/styles/app.css", "assets/styles/app.css",
"./config/packages/asset_mapper.yaml", "config/packages/asset_mapper.yaml",
"./importmap.php" "importmap.php"
] ]
}, },
"symfony/console": { "symfony/console": {
+1 -1
View File
@@ -8,8 +8,8 @@
{% block stylesheets %} {% block stylesheets %}
{% endblock %} {% endblock %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% block javascripts %} {% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %} {% endblock %}
</head> </head>