It seems grunt-include-replace does not support deep reference.
The code below fails.
Does it have an update plan for this feature?
<!--base.html-->
<ul>
<li>@@a</li>
<li>@@b</li>
<li>@@c</li>
</ul>
<!--foo.html-->
@@include('base.html', {
"a": @@a,
"b": @@b,
"c": "This is constant"})
<!--bar.html-->
@@include('foo.html', {
"a": "This is constant",
"b": "This is constant"})
P.S
Thanks for letting me enjoy replacing variables anyway :)
It seems
grunt-include-replacedoes not support deep reference.The code below fails.
Does it have an update plan for this feature?
<!--foo.html--> @@include('base.html', { "a": @@a, "b": @@b, "c": "This is constant"})<!--bar.html--> @@include('foo.html', { "a": "This is constant", "b": "This is constant"})P.S
Thanks for letting me enjoy replacing variables anyway :)