Skip to content

Commit

Permalink
Disable NextJS Image optimization since we're using a static site build
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjarling committed Jul 31, 2023
1 parent 9999a64 commit 1b5778b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
module.exports = {
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
experimental: { esmExternals: true },
experimental: {
esmExternals: true,
},
images: {
unoptimized: true,
},
reactStrictMode: true,
};

0 comments on commit 1b5778b

Please sign in to comment.