gulp-pug
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -8,2 +8,3 @@ 'use strict'; | ||
var PluginError = require('gulp-util').PluginError; | ||
var log = require('gulp-util').log; | ||
@@ -30,2 +31,5 @@ module.exports = function gulpPug(options) { | ||
var contents = String(file.contents); | ||
if (opts.verbose === true) { | ||
log('compiling file', file.path); | ||
} | ||
if (opts.client) { | ||
@@ -32,0 +36,0 @@ compiled = pug.compileClient(contents, opts); |
{ | ||
"name": "gulp-pug", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Gulp plugin for compiling Pug templates", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -23,3 +23,4 @@ # gulp-pug [![Build Status][status-img]][status] ![Dependencies][deps] ![Downloads][downloads] | ||
- `opts.pug`: A custom instance of Pug for `gulp-pug` to use. | ||
- `opts.verbose`: display name of file from stream that is being compiled. | ||
To change `opts.filename` use [`gulp-rename`][gulp-rename] before `gulp-pug`. | ||
@@ -26,0 +27,0 @@ |
5363
38
52