mirror of
https://github.com/one-among-us/data.git
synced 2024-11-22 19:24:51 +08:00
[+] Add backup to assets
This commit is contained in:
parent
abe6b00aa0
commit
bb6ffbf436
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user