chore(admin): Update build configuration and ignore analysis reports
- Add report.html files to .gitignore to exclude analysis reports from version control - Update build time configuration to include milliseconds for unique timestamps - Add explanatory comment for build time millisecond precision - Regenerate bundle analysis report with updated build configuration
This commit is contained in:
@ -6,7 +6,9 @@ export function getBuildTime() {
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
|
||||
const buildTime = dayjs.tz(Date.now(), 'Asia/Shanghai').format('YYYY-MM-DD HH:mm:ss')
|
||||
// 添加随机毫秒确保每次构建时间唯一
|
||||
const now = Date.now()
|
||||
const buildTime = dayjs.tz(now, 'Asia/Shanghai').format('YYYY-MM-DD HH:mm:ss.SSS')
|
||||
|
||||
return buildTime
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user