From c7212cc53b093df2d79de3bd42e299d82d3df272 Mon Sep 17 00:00:00 2001 From: Varun Raj Date: Sat, 24 Aug 2024 08:14:53 +0530 Subject: [PATCH] fix: disabled nextjs image optimization due to sharp dependencies Signed-off-by: Varun Raj --- next.config.mjs | 5 ++++- src/components/shared/Sidebar.tsx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 447f99a..9685eaf 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,7 +1,10 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: false, - output: 'standalone' + output: 'standalone', + images: { + unoptimized: true, + } }; export default nextConfig; diff --git a/src/components/shared/Sidebar.tsx b/src/components/shared/Sidebar.tsx index 69ceb45..458f8c1 100644 --- a/src/components/shared/Sidebar.tsx +++ b/src/components/shared/Sidebar.tsx @@ -21,7 +21,7 @@ export default function Sidebar() {
-