gulp-versioning-asset
Its the same as original repo. but the only diff. is versioning all files even if its cloud import and without checking file paths. so if you change the base URL in the original project, still can versioning files.
A plugin for gulp.js to add version after file's name by random hash.
test.html
-> test.html?v=7f499bc7
test.css
-> test.css?v=f83a98d9
Installation
npm install gulp-versioning-asset
Usage
var gulp = ;var assetVersion = ; gulp; gulp;
Options
assetPath: direct asset path to when using template engines.
Type: String
Default: ""
rootPath: it should be assigned when the asset's path is an absolute path.
Type: String
Default: ""
Example
before: test.css
after: test.css
before: test.html
after: test.html