Skip to content

Commit

Permalink
Merge pull request #169 from my-cereal/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jonkemp committed Jan 24, 2016
2 parents e8187b1 + 2d6ea96 commit cdb34ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ or
TypeError: useref.assets is not a function

For a simple configuration, you can replace this V2 code:

```js
var gulp = require('gulp'),
useref = require('gulp-useref');

Expand All @@ -249,9 +249,9 @@ For a simple configuration, you can replace this V2 code:
.pipe(useref())
.pipe(gulp.dest('dist'));
});

```
with this V3 code:

```js
var gulp = require('gulp'),
useref = require('gulp-useref');

Expand All @@ -260,7 +260,7 @@ with this V3 code:
.pipe(useref())
.pipe(gulp.dest('dist'));
});

```
If you were previously using useref in a multi-stage pipe,
you may need to rewrite the pipe, since the simplified V3 API
may not allow for its previous usage.
Expand Down

0 comments on commit cdb34ad

Please sign in to comment.