Open cjfff opened 4 years ago
版本 markdown-it-vuese 0.4.0 vuepress 1.4.0
描述一下 bug 行为跟这个链接的一致...https://github.com/BuptStEve/markdown-it-vuese/issues/3
回头我看看
感觉是这里这个缓存的问题,试了下官方的 code snippet 也失去同步了...
https://github.com/vuejs/vuepress/blob/a6ae5082a709c3aefc89cd9d8c9ba464f6f52179/packages/%40vuepress/markdown-loader/index.js#L37
@BuptStEve
目前 vuepress 生成 cache 时候用的 内容 会包含 vuese 生成的注释吗?
vuepress
cache
vuese
源码部分看了一下,缓存的标记规则是 hash(file + src), src 如果是文件内容的话,应该是会更新才对
hash(file + src)
文件指的是 md 文件,md 文件没变化,所以读的缓存
版本 markdown-it-vuese 0.4.0 vuepress 1.4.0
描述一下 bug 行为跟这个链接的一致...https://github.com/BuptStEve/markdown-it-vuese/issues/3