1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-10 13:24:50 +08:00

[O] Copy page.md in build

This commit is contained in:
Azalea Gui 2023-01-04 15:52:49 -05:00
parent 5fe1d72410
commit 97d2e1ed5b
No known key found for this signature in database
GPG Key ID: E289FAC0DA92DD2B

View File

@ -126,7 +126,7 @@ function buildPeoplePages() {
// Copy `people/${dirname}/photos` to `dist/people/${dirname}/`. // Copy `people/${dirname}/photos` to `dist/people/${dirname}/`.
function copyPeopleAssets() { function copyPeopleAssets() {
const PEOPLE_ASSETS = ["photos", "backup"]; const PEOPLE_ASSETS = ["photos", "backup", "page.md"];
for (const { srcPath, distPath } of people) { for (const { srcPath, distPath } of people) {
fs.ensureDirSync(distPath); fs.ensureDirSync(distPath);