Skip to content

Commit

Permalink
surrounding importmap() in a block
Browse files Browse the repository at this point in the history
This allows it to be overridden (independent of javascripts block) so we can
completely override it (no parent)
  • Loading branch information
weaverryan committed Dec 9, 2023
1 parent 1ed8492 commit 02180aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symfony/asset-mapper/6.4/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02180aa

Please sign in to comment.