From 6c685394efb970dbdd31f4378ba1f71a096f4fbf Mon Sep 17 00:00:00 2001 From: Michael Lake Date: Wed, 4 Dec 2024 11:25:57 +0100 Subject: [PATCH] adding static build --- README.md | 2 +- next.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7550063..673dc6a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ pip install cloudinary-cli cld -c CLOUDINARY_URL=cloudinary://626128965724915:xxxxxxxxxxxxxxxxxxxxxxxxx upload_dir tranchart_source_images ```` -using "out" directory for github pages +using "docs" directory for github pages ```bash npx create-next-app --example with-cloudinary with-cloudinary-app diff --git a/next.config.js b/next.config.js index f5a8a72..f09f05b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,6 @@ module.exports = { output: "export", + distDir: 'docs', images: { unoptimized: true, formats: ["image/avif", "image/webp"],