gulp-recipe-rev
v0.1.4
Published
Recipe for distribution files reving
Downloads
5
Readme
gulp-recipe-rev
Recipe for distribution files reving using gulp-rev and gulp-rev-replace.
Note that all rev trickery still applies. All your reved paths have to be referenced with paths relative to its bases. If your files are renamed but references are not replaced, you need to correct your base in sources.
Configuration
Recipe specific
config.rev.replaceInExtensions
default:
['.js', '.css', '.html', '.json']
Configure revReplace to modify files only with given extensions
Order
config.order.rev
default: 1000
config.order.revReplace
alias: config.order.rev default: 1000 (from alias)
Api
Used Hooks
pipes.processJsRev
Apply rev on js files in build.
pipes.processCssRev
Apply rev on css files in build.
pipes.postBuildRev
Apply rev on all additional build files.
pipes.postMergeRevReplace
Apply revReplace on full build output.