Skip to content

Commit

Permalink
Docs: Change jade references to pug (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bauer authored and phated committed Nov 12, 2017
1 parent 2c6d551 commit 81fc26d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ that can be [piped](http://nodejs.org/api/stream.html#stream_readable_pipe_desti
to plugins.

```javascript
gulp.src('client/templates/*.jade')
.pipe(jade())
gulp.src('client/templates/*.pug')
.pipe(pug())
.pipe(minify())
.pipe(gulp.dest('build/minified_templates'));
```
Expand Down Expand Up @@ -77,8 +77,8 @@ gulp.src('client/js/**/*.js', { base: 'client' })
Can be piped to and it will write files. Re-emits all data passed to it so you can pipe to multiple folders. Folders that don't exist will be created.

```javascript
gulp.src('./client/templates/*.jade')
.pipe(jade())
gulp.src('./client/templates/*.pug')
.pipe(pug())
.pipe(gulp.dest('./build/templates'))
.pipe(minify())
.pipe(gulp.dest('./build/minified_templates'));
Expand Down

0 comments on commit 81fc26d

Please sign in to comment.