Skip to content
This repository was archived by the owner on Oct 1, 2023. It is now read-only.

Commit 7899433

Browse files
author
IlyaMedzhidov
committedJan 31, 2016
Update README.md
1 parent 5837ec1 commit 7899433

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ gulp.task('build', function () {
3535

3636
If you want add SRC to begining of the SRC array, you can use `addsrc.prepend`.
3737
Or if you want to add SRC to end of the SRC array, you can use `addsrc.append`.
38-
Respectively instead of addsrc:
38+
Respectively instead of addsrc.
39+
40+
Example use addsrc.append and addsrc.prepend:
3941
```js
4042
var gulp = require('gulp');
4143
var addsrc = require('gulp-add-src');
@@ -52,8 +54,6 @@ gulp.task('build.angular', function () {
5254
});
5355
```
5456

55-
Example use addsrc.append and addsrc.prepend:
56-
5757
As an example, this would be useful if you wanted to merge your `bower` scripts with your app scripts. You'd need your `bower` scripts to maintain their order (the `bower` scripts themselves) and make sure they come before your app scripts. In this case, you'd use `addsrc.prepend`.
5858

5959
Because of the unpredicabilty of `addsrc` alone, it's recommended to use one of the append/prepend variants. The original is only left in place for legacy reasons.

0 commit comments

Comments
 (0)
This repository has been archived.