grunt-cacheinfo
Advanced tools
Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "grunt-cacheinfo", | ||
"description": "cacheinfo.", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "bachi", |
@@ -50,2 +50,4 @@ # grunt-cacheinfo | ||
- 0.3.2 | ||
- bugfix for weex cacheinfo. | ||
- bugfix for weex cacheinfo. | ||
- 0.3.4 | ||
- 兼容新的 AWP 发布路径支持 |
@@ -265,4 +265,13 @@ /* | ||
if (wxRegExp.test(file)) { | ||
abcJSON.cache['/js/' + abc.group + '/' + projectName + '/' + file.replace(/\.js$/, '-min.js')] = file; | ||
abcJSON.cache['/js/' + abc.group + '/' + projectName + '/' + file] = file; | ||
var pathPrefix = abc.group + '/' + projectName + '/'; | ||
[ | ||
'/js/' + pathPrefix + file.replace(/\.js$/, '-min.js'), | ||
'/js/' + pathPrefix + file, | ||
// awp 升级支持不需要必须部署在 `/js/` 前缀下 | ||
pathPrefix + file.replace(/\.js$/, '-min.js'), | ||
pathPrefix + file | ||
].forEach(function (reqPath) { | ||
abcJSON.cache[reqPath] = file; | ||
}); | ||
} | ||
@@ -269,0 +278,0 @@ }); |
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
16570
396
52