Merge pull request #1268 from weaverryan/asset-mapper-importmap-block

[AssetMapper] surrounding importmap() in a block
This commit is contained in:
Fabien Potencier
2023-12-10 18:34:16 +01:00
committed by GitHub
+1 -1
View File
@@ -12,7 +12,7 @@
"add-lines": [
{
"file": "templates/base.html.twig",
"content": " {{ importmap('app') }}",
"content": "{% block importmap %}{{ importmap('app') }}{% endblock %}",
"position": "after_target",
"target": "{% block javascripts %}",
"warn_if_missing": true