GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WWWangkx/gulp-v: gulp版本号?v=

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
node_modules
node_modules
 
 
rev
rev
 
 
gulpfile.js
gulpfile.js
 
 
package.json
package.json
 
 
readMe.md
readMe.md
 
 

Repository files navigation

更改node_modules配置文件

gulp-rev\index.js

  • 第135行 manifest[originalFile] = revisionedFile; 更新为: manifest[originalFile] = originalFile + '?v=' + file.revHash;

rev-path\index.js

  • 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

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.