From 771830a416579becbfb06c6ffdb93a1ddea6e460 Mon Sep 17 00:00:00 2001 From: Foster Hangdaan Date: Tue, 10 Sep 2024 08:18:00 -0400 Subject: [PATCH] Add next-gen image formats to `copy` command The new formats being: `.avif` and `.webp`. --- _config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_config.ts b/_config.ts index a9797de..3f00033 100644 --- a/_config.ts +++ b/_config.ts @@ -20,7 +20,13 @@ site.ignore("README.md", "README.org", "LICENSE.txt", "LICENSE.md"); site.copy("static", "."); -site.copy([".png", ".jpg", ".jpeg"]); +site.copy([ + ".avif", + ".jpeg", + ".jpg", + ".png", + ".webp", +]); site.use(jsx()); site.use(nav());