mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-01-17 21:28:28 +01:00
Remove stamp.
This commit is contained in:
parent
ab622d5cd2
commit
2e8ae301c5
4
ghu.js
4
ghu.js
@ -1,5 +1,4 @@
|
||||
const {resolve, join} = require('path');
|
||||
const dateformat = require('dateformat');
|
||||
const {
|
||||
default: ghu,
|
||||
autoprefixer, cssmin, ife, includeit, jade, jszip,
|
||||
@ -24,8 +23,7 @@ ghu.before(runtime => {
|
||||
if (hashes.length) {
|
||||
const counter = ('000' + hashes.length).substr(-3);
|
||||
const hash = hashes[0].substr(0, 7);
|
||||
const stamp = dateformat(Date.now(), 'yyyy-mm-dd-HH-MM-ss');
|
||||
runtime.pkg.version += `+${counter}~${hash}~${stamp}`;
|
||||
runtime.pkg.version += `+${counter}~${hash}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
"babel-core": "6.3.17",
|
||||
"babel-eslint": "5.0.0-beta6",
|
||||
"babel-preset-es2015": "6.3.13",
|
||||
"dateformat": "1.0.12",
|
||||
"eslint": "1.10.3",
|
||||
"ghu": "0.2.2"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user