pull/5035/merge
yy祝 6 days ago committed by GitHub
commit 87e84b1a7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -110,10 +110,16 @@ export async function createMarkdownToVueRenderFn(
getPageDataTransformer(dynamicRoute?.[1]!)
].filter((fn) => fn != null)
const originalRelativePath = slash(path.relative(srcDir, file))
file = rewrites.get(file) || file
const relativePath = slash(path.relative(srcDir, file))
const cacheKey = JSON.stringify({ src, ts, relativePath })
const cacheKey = JSON.stringify({
src,
ts,
relativePath: originalRelativePath
})
if (options.cache !== false) {
const cached = cache.get(cacheKey)
if (cached) {

Loading…
Cancel
Save