Last active
June 20, 2022 14:35
-
-
Save ola-dola/c768fc2db091be68d3c73c15e4d6dd80 to your computer and use it in GitHub Desktop.
Workaround for next/image if the site is to be statically exported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
// https://github.com/vercel/next.js/issues/21079 | |
// https://stackoverflow.com/a/69258517 | |
images: { | |
loader: "imgix", | |
path: "", | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment