mirror of
https://github.com/one-among-us/data.git
synced 2024-11-10 13:24:50 +08:00
Merge pull request #113 from one-among-us/resolve_cache
[M] Resolve cache
This commit is contained in:
commit
d419b4e15e
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user