Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jade was changed to pug #2037

Merged
merged 1 commit into from
Nov 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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