alanshaw / alanshaw/grunt-include-replace

Reference in multiple steps

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
199
Forks
43
PR merge metrics
No merged PRs in 30d

Description

It seems `grunt-include-replace` does not support deep reference.
The code below fails.
Does it have an update plan for this feature?

```html


  • @@a

  • @@b

  • @@c


```
```html

@@include('base.html', {
"a": @@a,
"b": @@b,
"c": "This is constant"})
```
```html

@@include('foo.html', {
"a": "This is constant",
"b": "This is constant"})
```

##### _P.S_
_Thanks for letting me enjoy replacing variables anyway :)_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.