gulp-deloy-cdn
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -98,3 +98,2 @@ 'use strict'; | ||
.replace(cssReg, function(match, url) { | ||
console.log(match, url,'info') | ||
isHTTP(url) || (isCss(match) && (match = match.replace(/href\s*=\s*["|']([^"']+)["|']/, 'href="' + getNewUrl(url, 'css', !inlineReplace && inlineReg.test(match)) + '"'))); | ||
@@ -106,3 +105,2 @@ return match; | ||
url = url.replace('../','') | ||
console.log(match, url,'info',file) | ||
isHTTP(url) || isBase64(url) || (match = match.replace(/url\s*\(\s*['|"]?([^'")]+)['|"]?\s*\)/, 'url(' + getNewUrl(url, 'cssImg', false) + ')')); | ||
@@ -109,0 +107,0 @@ return match; |
{ | ||
"name": "gulp-deloy-cdn", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "replace resource relative path to cdn uri", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
16269
91