From 9407865e275bffc9311e591fe0a904a0650eb175 Mon Sep 17 00:00:00 2001 From: Linus Miller Date: Tue, 12 May 2015 13:31:04 +0200 Subject: [PATCH] Unshift instead of push current files path onto includePaths. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d3706d0..3333570 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ var gulpSass = function gulpSass(options, sync) { opts.includePaths = []; } - opts.includePaths.push(path.dirname(file.path)); + opts.includePaths.unshift(path.dirname(file.path)); // Generate Source Maps if plugin source-map present if (file.sourceMap) {