Skip to content

add hash to html script tag src attribute, in order to avoid brower cache.

License

Notifications You must be signed in to change notification settings

narrowizard/nhref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nhref

add hash to html script tag src attribute, in order to avoid brower cache.

start

npm install -g nhref

usage

nhref [options] [directories|files]

options

  • -p, --project (default current directory)
    specify the root directory of the project. when resolve src like /d1/a.js, nhref will find file from the root directory.

  • -d, --dest

  • -t, --type (resolve type)
    browser or regexp

issue

notice

bin/nhref: change CRLF to LF before publish on windows

About

add hash to html script tag src attribute, in order to avoid brower cache.

Resources

License

Stars

Watchers

Forks

Packages

No packages published