Skip to content

Commit

Permalink
Add loader for next/image when exporting statically
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-panhead committed Sep 16, 2024
1 parent 7a5e90c commit fe9b97d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module.exports = () => {
trailingSlash: true,
images: {
disableStaticImages: true,
loader: 'akamai',
path: '',
},
optipng: {
optimizationLevel: 4,
Expand Down Expand Up @@ -35,6 +37,8 @@ module.exports = () => {
trailingSlash: true,
images: {
disableStaticImages: true,
loader: 'akamai',
path: '',
},
optipng: {
optimizationLevel: 4,
Expand Down

0 comments on commit fe9b97d

Please sign in to comment.