gulp-html-dependencies
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -34,3 +34,5 @@ /** | ||
file.contents = new Buffer(file.contents.toString().replace(REGEX, (match, attr, quote, url, pathname, engine, filename) => { | ||
const dest_file = path.join(dest, options.flat ? path.basename(filename) : filename); | ||
const f = options.flat ? path.basename(filename) : filename; | ||
const dest_file = path.join(dest, f); | ||
const url_file = path.join(options.prefix, f); | ||
@@ -45,3 +47,3 @@ try { | ||
return attr + '=' + quote + path.join(options.prefix, filename) + quote; | ||
return attr + '=' + quote + url_file + quote; | ||
})); | ||
@@ -48,0 +50,0 @@ |
{ | ||
"name": "gulp-html-dependencies", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parse your HTML file and copy bower/npm files to your destination directory", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# gulp-html-dependencies | ||
Parse your HTML file and copy bower/npm files to your destination directory | ||
Parse your HTML file and copy bower/npm dependencies to your destination directory | ||
@@ -4,0 +4,0 @@ ## Install |
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
12213
99