Skip to content

Commit

Permalink
Merge pull request #96 from chestnutchen/master
Browse files Browse the repository at this point in the history
修复less > 2.0.0的相对路径替换问题
  • Loading branch information
leeight committed Jul 10, 2015
2 parents 5aff8f8 + 0167ab8 commit 4b27963
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/processor/less-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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 {
Expand Down

0 comments on commit 4b27963

Please sign in to comment.