[+] Add backup to assets

pull/38/head
Hykilpikonna 2022-12-23 16:27:17 -05:00
parent abe6b00aa0
commit bb6ffbf436
No known key found for this signature in database
GPG Key ID: 256CD01A41D7FA26
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,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"]; const PEOPLE_ASSETS = ["photos", "backup"];
for (const { srcPath, distPath } of people) { for (const { srcPath, distPath } of people) {
fs.ensureDirSync(distPath); fs.ensureDirSync(distPath);