From d9a21574eaa61d6683a67dc0d0685bff1932610c Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Mon, 15 Jan 2024 17:45:52 +0530 Subject: [PATCH] config the nextjs to deploy on github page --- next.config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 1a88750..99a5996 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,13 @@ /** @type {import('next').NextConfig} */ const withNextra = require("nextra")({ - output: 'export', theme: "section-blog-theme", themeConfig: "./theme.config.jsx", }); -module.exports = withNextra(); +module.exports = withNextra({ + output: 'export', + images:{ + unoptimized: true + } +});