We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7378d4b commit fe5416cCopy full SHA for fe5416c
1 file changed
lib/index.js
@@ -18,11 +18,12 @@
18
includes = this.includePaths || [],
19
outputStyle = this.outputStyle || 'compressed',
20
imagePath = this.imagePath || '/',
21
- outputDir = this.outputDir || path.dirname(filename);
+ outputDir = this.outputDir || path.dirname(filename),
22
+ fileDir = path.dirname(path.join(basePath, filename));
23
24
if (isSassFile(filename) === true) {
25
// Append the file's base path to the available include paths.
- includes.push(basePath);
26
+ includes.push(fileDir);
27
28
// Compile the file using SASS.
29
sass.render({
0 commit comments