conf: 编译时间,加点浮动
parent
633935b5c8
commit
31aa3da60b
@ -1,5 +1,5 @@
|
|||||||
const { execSync } = require('child_process');
|
const { execSync } = require('child_process');
|
||||||
|
|
||||||
process.env.REACT_APP_BUILD_TIME = new Date().getTime();
|
process.env.REACT_APP_BUILD_TIME = new Date().getTime()+(5*60*1000);
|
||||||
|
|
||||||
execSync('npm run build', { stdio: 'inherit' });
|
execSync('npm run build', { stdio: 'inherit' });
|
||||||
|
Loading…
Reference in New Issue