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

[M] Resolve cache

This commit is contained in:
BeiyanYunyi 2023-04-13 14:40:52 +08:00
parent c67ea43595
commit d1ed9257c7
No known key found for this signature in database
GPG Key ID: 2A9653C77F914240

View File

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