Skip to content

Commit 5108228

Browse files
authored
This allows next build to add image optimization. (#31)
1 parent 2697664 commit 5108228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const config = {
77
reactStrictMode: true,
88
output: 'export',
99
images: {
10-
unoptimized: true,
10+
unoptimized: process.env.NODE_ENV === 'development',
1111
},
1212
};
1313

0 commit comments

Comments
 (0)