fix: disabled nextjs image optimization due to sharp dependencies

Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
Varun Raj committed 2024-08-24 08:14:53 +05:30
1 parent abcf6e3880
commit c7212cc53b
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -1,7 +1,10 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: false, reactStrictMode: false,
output: 'standalone' output: 'standalone',
images: {
unoptimized: true,
}
}; };
export default nextConfig; 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-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"> <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"> <Link href="/" className="flex items-center gap-2 font-semibold">
<Image <img
src="/favicon.png" src="/favicon.png"
width={32} width={32}
height={32} height={32}