fix: disabled nextjs image optimization due to sharp dependencies
Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
1 parent
abcf6e3880
commit
c7212cc53b
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -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;
|
||||||
@@ -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}
|
||||||
|
|||||||
Reference in new issue
Block a user