gulp-sitemap
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -37,4 +37,4 @@ 'use strict'; | ||
return through.obj(function (file, enc, cb) { | ||
//pass through empty files but not html | ||
if (file.isNull() && !/\.html?$/.test(path.extname(file.path))) { | ||
//we handle null files (that have no contents), but not dirs | ||
if (file.isDirectory()) { | ||
this.push(file); | ||
@@ -41,0 +41,0 @@ return cb(); |
{ | ||
"name": "gulp-sitemap", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Generate a search engine friendly sitemap.xml using a Gulp stream", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
9715