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:
parent
c67ea43595
commit
d1ed9257c7
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user