Merge pull request #509 from xzyfer/fix/option-leakage

Prevent options leaking between compilations
master
Michael Mifsud 2016-06-15 20:56:11 +10:00 committed by GitHub
commit 568b13bbc1
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
var gutil = require('gulp-util');
var through = require('through2');
var assign = require('object-assign');
var clonedeep = require('lodash.clonedeep');
var path = require('path');
var applySourceMap = require('vinyl-sourcemaps-apply');
@ -34,7 +34,7 @@ var gulpSass = function gulpSass(options, sync) {
}
opts = assign({}, options);
opts = clonedeep(options || {});
opts.data = file.contents.toString();
// we set the file path here so that libsass can correctly resolve import paths

View File

@ -22,8 +22,8 @@
},
"dependencies": {
"gulp-util": "^3.0",
"lodash.clonedeep": "^4.3.2",
"node-sass": "^3.4.2",
"object-assign": "^4.0.1",
"through2": "^2.0.0",
"vinyl-sourcemaps-apply": "^0.2.0"
},