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 7ebcbe2 commit a410436
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 a410436

Please sign in to comment.