From 2eebd05bbfde5543cf32f2661b9bb7d30f5c56e0 Mon Sep 17 00:00:00 2001 From: chestnut Date: Fri, 10 Jul 2015 15:14:25 +0800 Subject: [PATCH] fix #95 --- lib/processor/less-compiler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/processor/less-compiler.js b/lib/processor/less-compiler.js index d8154be..4fc1e7e 100644 --- a/lib/processor/less-compiler.js +++ b/lib/processor/less-compiler.js @@ -69,7 +69,8 @@ LessCompiler.prototype.process = function (file, processContext, callback) { var options = u.extend({ relativeUrls: true, compress: true, - paths: paths + paths: paths, + filename: file.fullPath }, this.compileOptions); try {