From 50b7cdf4fba63780e600f91b6fba819ccd3c2dc0 Mon Sep 17 00:00:00 2001 From: James Blair Date: Mon, 4 Dec 2023 14:33:38 +1300 Subject: [PATCH] Don't optimise images to make export easier. --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index d347c47..eddbdd5 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,9 @@ module.exports = withBundleAnalyzer({ eslint: { dirs: ['pages', 'components', 'lib', 'layouts', 'scripts'], }, + images: { + unoptimized: true + }, experimental: { esmExternals: true }, webpack: (config, { dev, isServer }) => { config.module.rules.push({