surrounding importmap() in a block

This allows it to be overridden (independent of javascripts block) so we can
completely override it (no parent)
This commit is contained in:
Ryan Weaver
2023-12-09 13:25:36 -05:00
parent 1ed8492aad
commit 02180aa76d
+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