Comparing version 2.3.0 to 2.3.1
12
index.js
@@ -48,2 +48,14 @@ 'use strict'; | ||
// Ensure file's parent directory in the include path | ||
if (opts.includePaths) { | ||
if (typeof opts.includePaths === 'string') { | ||
opts.includePaths = [opts.includePaths]; | ||
} | ||
} | ||
else { | ||
opts.includePaths = []; | ||
} | ||
opts.includePaths.unshift(path.dirname(file.path)); | ||
// Generate Source Maps if plugin source-map present | ||
@@ -50,0 +62,0 @@ if (file.sourceMap) { |
{ | ||
"name": "gulp-sass", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Gulp plugin for sass", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"gulp-util": "^3.0", | ||
"node-sass": "^3.5.1", | ||
"node-sass": "^3.4.2", | ||
"object-assign": "^4.0.1", | ||
@@ -28,0 +28,0 @@ "through2": "^2.0.0", |
22258
159
Updatednode-sass@^3.4.2