gulp-less-changed
Advanced tools
Comparing version 1.4.1 to 1.4.2
{ | ||
"name": "gulp-less-changed", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Only pass .less files through the gulp stream if they or their dependencies have changed", | ||
@@ -5,0 +5,0 @@ "main": "release/main.js", |
@@ -15,3 +15,3 @@ "use strict"; | ||
DataUriVisitor.prototype.visitCall = function (callNode) { | ||
var _a = this.getImportInfo(callNode), ruleNode = _a.ruleNode, importedFile = _a.importedFile, entryPath = _a.entryPath; | ||
var _a = this.getImportInfo(callNode), ruleNode = _a.ruleNode, importedFile = _a.importedFile, filePath = _a.filePath; | ||
if (!importedFile) { | ||
@@ -21,3 +21,3 @@ return ruleNode; | ||
this.addImport({ | ||
directory: entryPath ? path.normalize(entryPath) : "", | ||
directory: filePath ? path.normalize(filePath) : "", | ||
relativePath: importedFile | ||
@@ -45,4 +45,4 @@ }); | ||
: ruleNode.currentFileInfo; | ||
var entryPath = fileInfo.entryPath; | ||
return { ruleNode: ruleNode, importedFile: importedFile, entryPath: entryPath }; | ||
var filePath = fileInfo.currentDirectory; | ||
return { ruleNode: ruleNode, importedFile: importedFile, filePath: filePath }; | ||
}; | ||
@@ -49,0 +49,0 @@ return DataUriVisitor; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13460969
17360