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;