Created
March 16, 2021 13:35
-
-
Save ofhouse/3e1280454cd99a14cafab0af199e6367 to your computer and use it in GitHub Desktop.
Changes to next.config.js needed for Terraform Next.js Image Optimization module for AWS.
This file contains 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 = { | |
+ images: { | |
+ path: 'https://<distribution-id>.cloudfront.net/_next/image' | |
+ }, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment