gulp-sourcemaps
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -210,3 +210,3 @@ 'use strict'; | ||
var comment; | ||
var comment, sourceMappingURLPrefix; | ||
if (!destPath) { | ||
@@ -230,5 +230,7 @@ // encode source map into comment | ||
if (typeof options.sourceMappingURLPrefix === 'function') { | ||
options.sourceMappingURLPrefix = options.sourceMappingURLPrefix(file); | ||
sourceMappingURLPrefix = options.sourceMappingURLPrefix(file); | ||
} else { | ||
sourceMappingURLPrefix = options.sourceMappingURLPrefix; | ||
} | ||
comment = comment.replace(/sourceMappingURL=\.*/, 'sourceMappingURL=' + options.sourceMappingURLPrefix); | ||
comment = comment.replace(/sourceMappingURL=\.*/, 'sourceMappingURL=' + sourceMappingURLPrefix); | ||
} | ||
@@ -235,0 +237,0 @@ } |
{ | ||
"name": "gulp-sourcemaps", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Source map support for Gulp.js", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/floridoo/gulp-sourcemaps", |
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
17616
213