Skip to content

Commit

Permalink
Disable Next.js image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegach committed Sep 5, 2024
1 parent c9d3e4c commit 7ffe2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/addon-catalog/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { withPlausibleProxy } from 'next-plausible';
const nextConfig = withPlausibleProxy()({
basePath: '/addons',
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
Expand Down
2 changes: 1 addition & 1 deletion apps/frontpage/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const generatedRedirects = require('./generated-redirects.json');
const { withPlausibleProxy } = require('next-plausible');

const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});
Expand All @@ -27,6 +26,7 @@ const historicalVersions = [
module.exports = withBundleAnalyzer(
withPlausibleProxy()({
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
Expand Down

0 comments on commit 7ffe2f8

Please sign in to comment.