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.
paths:
- 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": {
"version": "7.0",
"version": "7.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "6.4",
"ref": "6c28c471640cc2c6e60812ebcb961c526ef8997f"
"ref": "5ad1308aa756d58f999ffbe1540d1189f5d7d14a"
},
"files": [
"./assets/app.js",
"./assets/styles/app.css",
"./config/packages/asset_mapper.yaml",
"./importmap.php"
"assets/app.js",
"assets/styles/app.css",
"config/packages/asset_mapper.yaml",
"importmap.php"
]
},
"symfony/console": {
+1 -1
View File
@@ -8,8 +8,8 @@
{% block stylesheets %}
{% endblock %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %}
</head>