fix: disabled nextjs image optimization due to sharp dependencies

Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
Varun Raj
2024-08-24 08:14:53 +05:30
parent abcf6e3880
commit c7212cc53b
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
output: 'standalone'
output: 'standalone',
images: {
unoptimized: true,
}
};
export default nextConfig;
+1 -1
View File
@@ -21,7 +21,7 @@ export default function Sidebar() {
<div className="flex h-full max-h-screen flex-col gap-2">
<div className="flex h-14 items-center justify-between border-b px-4 lg:h-[60px] lg:px-6">
<Link href="/" className="flex items-center gap-2 font-semibold">
<Image
<img
src="/favicon.png"
width={32}
height={32}