Skip to content

Commit

Permalink
fix: disable image optimization
Browse files Browse the repository at this point in the history
Image optimization causes high memory usage, [source](vercel/next.js#44685).
Temporarily disabling this until a fix is found. Manually compress large
images using [Sharp CLI](https://github.com/GTD-IT-XXIV/gtd-xxvi-website?tab=readme-ov-file#sharp-cli).
  • Loading branch information
gillwong committed Mar 12, 2024
1 parent e41c9b3 commit 325d5de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const shouldAnalyzeBundles = process.env.ANALYZE === "true";
/** @type {import('next').NextConfig} */
let nextConfig = {
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "https",
Expand Down

0 comments on commit 325d5de

Please sign in to comment.