mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
fix optimizations, and errors on multi-line comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user