Skip to content

Commit 2909429

Browse files
Bogatyrev.PBogatyrev.P
authored andcommitted
Added docs for separateInputs option.
1 parent d8c1cbf commit 2909429

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ gulp.task("default", ["scripts"]);
5353
* Set this to `true` if you want `gulp-include` to throw errors if a file does not match
5454
an include directive.
5555
* If set to `false` gulp include will not fail, but display warnings in the console.
56+
57+
- `separateInputs` (optional)
58+
* Boolean, `true` by default
59+
* Set this to `false` if you want to process each input file independent, when executing "require" logic.
60+
So, if file required several times inside one file (or inside required by it files), then dublicates will be ignored.
61+
But when another file will begin processing, all information about required files from previuos file will be discarded.
5662

5763
#### Example options usage:
5864
```js

0 commit comments

Comments
 (0)