fix optimizations, and errors on multi-line comments

This commit is contained in:
cloudhead
2010-06-01 21:21:59 -04:00
parent 799697b8c3
commit 9c390cbdf8
2 changed files with 7 additions and 17 deletions

View File

@@ -43,7 +43,8 @@ function toCSS(path, callback) {
if (e) { return callback(e) }
new(less.Parser)({
paths: [require('path').dirname(path)]
paths: [require('path').dirname(path)],
optimization: 0
}).parse(str, function (err, tree) {
if (err) {
callback(err);