From 82363bce52da1280e9970c74eca3bdd6ea713986 Mon Sep 17 00:00:00 2001 From: Emre Unal Date: Sun, 17 Apr 2016 07:01:04 +0300 Subject: [PATCH] Return correct destination path --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index e5840f5..234e18b 100644 --- a/index.js +++ b/index.js @@ -76,8 +76,8 @@ CompassCompilerPlugin.prototype.toTree = function(tree, inputPath, outputPath, i destDir: outputDir, files: [fileName], getDestinationPath: function(relativePath) { - if (relativePath === path.posix.join(this.destDir, fileName)) { - return path.posix.join(this.destDir, outputFileName); + if (relativePath === fileName) { + return outputFileName; } return relativePath;