Skip to content

Reference in multiple steps #80

Description

@jjangga0214

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions