Merge pull request #271 from sup3rman/sup3rman
Unshift instead of push current file's path onto includePaths.
This commit is contained in:
commit
9be18f1a85
2
index.js
2
index.js
|
@ -47,7 +47,7 @@ var gulpSass = function gulpSass(options, sync) {
|
||||||
opts.includePaths = [];
|
opts.includePaths = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
opts.includePaths.push(path.dirname(file.path));
|
opts.includePaths.unshift(path.dirname(file.path));
|
||||||
|
|
||||||
// Generate Source Maps if plugin source-map present
|
// Generate Source Maps if plugin source-map present
|
||||||
if (file.sourceMap) {
|
if (file.sourceMap) {
|
||||||
|
|
Loading…
Reference in a new issue