grunt-hotbox-deploy
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -97,5 +97,7 @@ var gitInfo = require('./gitInfo'); | ||
content = content.replace(options.templatesRegexp, '$1' + HTTP_PREFIX + VERSIONED_STATIC_PATH + '$2'); | ||
content = content.replace(options.contentTemplatesRegexp, '$1' + HTTP_PREFIX + STATIC_PATH + '$2'); | ||
grunt.file.write(file, content); | ||
grunt.log.writeln('Replaced paths in ' + file); | ||
}); | ||
@@ -102,0 +104,0 @@ |
{ | ||
"name": "grunt-hotbox-deploy", | ||
"description": "Grunt task for deploying front-end bundles to Hotbox", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "e.dydykin@corp.mail.ru", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -23,2 +23,3 @@ /* | ||
templatesRegexp: /((?:src|href|srcset|poster)=['"]|url\(['"]?|\s\dx,\s)\/static(\/.+?['"]?)/g, | ||
contentTemplatesRegexp: /((?:content)=['"]|url\(['"]?|\s\dx,\s)\/static(\/.+?['"]?)/g, | ||
stylesRegexp: /((?:url)\(['"]?)\/static(\/\S+?['"]?\))/g, | ||
@@ -25,0 +26,0 @@ endoint: 'hb.bizmrg.com', |
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
22050
421