GeezerVison is showing github.com — GitHub - WWWangkx/gulp-v: gulp版本号?v=
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
第135行 manifest[originalFile] = revisionedFile; 更新为: manifest[originalFile] = originalFile + '?v=' + file.revHash;
9行 return filename + '-' + hash + ext; 更新为: return filename + ext;
gulp-rev-collector\index.js
40行 path.basename(json[key]).replace(new RegExp( opts.revSuffix ), '' ) 更新为: path.basename(json[key]).split('?')[0]
第146\170行 regexp: new RegExp( '([\/\\\\\'"])' + pattern, 'g' ), 更新为: regexp: new RegExp( '([\/\\\\\'"])' + pattern+'(\\?v=\\w{10})?', 'g' ),
About
gulp版本号?v=
Resources
Stars
0 stars
Watchers
0 watching
Forks