gulp-stemp
install
npm install gulp-stemp -S
configurable gulp task for adding stemp variable into files
USAGE
'use strict'; const gulp = ;const moment = ;const gulpStemp = ;const pkg = ; const dateStemp = ; gulp;
options
options.stemp
- function for get stemp by filename
Default:
(filename) => Date.now()
,
options.key
- global varname
Default:
(filename) => 'window.__STEMP__'