yihong0618 / running_page

Make your own running home page
https://running-page.vercel.app
MIT License
3.4k stars 977 forks source link

deploy page报错 #587

Closed donghao526 closed 6 months ago

donghao526 commented 6 months ago

今天merge了最新的一些commit,然后depoly就报如下的错了

image

我看assets/index.ts文件也正常

export const yearStats = import.meta.glob('./year_*.svg', { import: 'ReactComponent' })
export const totalStat = import.meta.glob(['./github.svg', './grid.svg'], { import: 'ReactComponent' })

很抱歉,我对前端不是很熟悉,好像看也没人提过这个问题,求空了给看看

NaturezzZ commented 6 months ago

将GitHub Pages的所有cache清空试试

donghao526 commented 6 months ago

将GitHub Pages的所有cache清空试试

确实是缓存的问题,把这个地方漏掉了,多谢大兄弟

ZhengHe-MD commented 3 months ago

将GitHub Pages的所有cache清空试试

that saves my day!

yihong0618 commented 3 months ago

将GitHub Pages的所有cache清空试试

that saves my day!

我们之后加在 README 里一下