grunt-combohtml
Advanced tools
Comparing version 0.1.34 to 0.1.35
{ | ||
"name": "grunt-combohtml", | ||
"description": "combine build html with ssi.", | ||
"version": "0.1.34", | ||
"version": "0.1.35", | ||
"homepage": "https://github.com/jayli/grunt-combohtml", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -141,2 +141,11 @@ /* | ||
if(that.target == 'offline') { | ||
// 离线包任务定制 | ||
var tmsPrefix = 'trip.taobao.com/go/'; | ||
var tms_include = '<!--TMS:([^,]+),(utf-8|utf8|gbk|gb2312):TMS-->'; | ||
chunk = chunk.replace(new RegExp(tms_include, 'ig'),function(fullMatch, tmsPath, encoding){ | ||
return '<!--HTTP:http://' + path.join(tmsPrefix, tmsPath) + ',' + encoding + ':HTTP-->'; | ||
}); | ||
} | ||
chunkParser(chunk, function (chunk) { | ||
@@ -143,0 +152,0 @@ if (options.mockFilter) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
158726
4
4001
3