grunt-cacheinfo
Advanced tools
Comparing version 0.4.11 to 0.4.12
{ | ||
"name": "grunt-cacheinfo", | ||
"description": "cacheinfo.", | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "bachi", |
@@ -171,2 +171,3 @@ /* | ||
let isFlugy = !!abc.flugy; | ||
let group = (abc.group || 'trip') + '/'; | ||
let isAir = (abc.defPublishType === 'weex' || abc.defPublishType === 'webapp') && !abc.awpProxy; | ||
@@ -183,4 +184,5 @@ let wapUrlDomain = options.wapUrlDomain || (isAir ? 'http://market.m.taobao.com/' : 'http://h5.m.taobao.com/'); | ||
// trip/h5-abc/home => trip/h5-abc/pages/home | ||
if (baseUrl.indexOf('trip/' + abc.name + '/pages/') !== 0) { | ||
baseUrl = baseUrl.replace('trip/' + abc.name, 'trip/' + abc.name + '/pages'); | ||
// rxplugin/xxx/home => rxplugin/xxx/pages/home | ||
if (baseUrl.indexOf(group + abc.name + '/pages/') !== 0) { | ||
baseUrl = baseUrl.replace(group + abc.name, group + abc.name + '/pages'); | ||
} | ||
@@ -457,2 +459,2 @@ // trip/h5-abc/pages/home => app/trip/h5-abc/pages/home | ||
}; | ||
}; |
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
20986
496