mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user