1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-22 19:24:51 +08:00

Merge pull request #113 from one-among-us/resolve_cache

[M] Resolve cache
This commit is contained in:
北雁云依 2023-04-14 15:04:33 +08:00 committed by GitHub
commit d419b4e15e
Signed by: github
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ function buildPeoplePages() {
const result = renderMdx(markdown);
fs.ensureDirSync(distPath);
fs.writeFileSync(path.join(distPath, `page${lang}.js`), result);
fs.writeFileSync(path.join(distPath, `page${lang}.json`), JSON.stringify(result));
}
}
}