Skip to content

Commit

Permalink
Fix sourcemaps creation for LESS
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvdo committed Oct 29, 2015
1 parent cad1ae2 commit 1ce4825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/preprocessor.js
Expand Up @@ -59,7 +59,7 @@ Preprocessor.prototype.less = function () {
var opts = this.options.less;

// set specific options
if (this.sourcemaps) {
if (this.sourcemaps && this.sourcemaps.map) {
opts.filename = this.sourcemaps.from;
opts.sourceMap.sourceMapOutputFilename = this.sourcemaps.to;
// get basepath and rootpath
Expand Down

0 comments on commit 1ce4825

Please sign in to comment.