aboutsummaryrefslogtreecommitdiffstats
path: root/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build.js')
-rw-r--r--build.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.js b/build.js
index da51245..b09e47d 100644
--- a/build.js
+++ b/build.js
@@ -519,7 +519,8 @@ if (import.meta.main) {
// what a punk published as someone's nostr picture should be, but the
// circles the app draws are 18-64px and shouldn't pay for the rest.
const { readdirSync } = await import('node:fs');
- for (const d of ['punks', 'punks-sm'])
+ // ...and the default profile covers, full size and the wizard's preview copies
+ for (const d of ['punks', 'punks-sm', 'covers', 'covers-sm'])
for (const f of readdirSync('static/' + d)) await Bun.write(`dist/${d}/${f}`, Bun.file(`static/${d}/${f}`));
const kb = (Buffer.byteLength(html) / 1024).toFixed(0);