From 27734142cd20778a8f0b1cac8d1278b40c13f2b2 Mon Sep 17 00:00:00 2001 From: Elihuso Quigley Date: Fri, 25 Oct 2024 08:27:07 +0800 Subject: [PATCH] [+] build eggs --- scripts/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.ts b/scripts/build.ts index 705eba3e..3ad91b91 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -184,6 +184,7 @@ function copyPeopleAssets() { // Copy files `public` to dist. function copyPublic() { fs.copySync(path.join(projectRoot, PUBLIC_DIR), path.join(projectRoot, DIST_DIR)); + fs.copySync(path.join(projectRoot, DATA_DIR, 'eggs.json'), path.join(projectRoot, DIST_DIR, 'eggs.json')); fs.writeFileSync(path.join(DIST_DIR, 'trigger-list.json'), JSON.stringify(trigger as string[])); fs.writeFileSync(path.join(DIST_DIR, 'switch-pair.json'), JSON.stringify(switchPair as [string, string][])) }