Skip to content

Commit 27bd042

Browse files
jacobloganJacob Logan
and
Jacob Logan
authored
update next config to use a static build Id (aws-amplify#7102)
Co-authored-by: Jacob Logan <[email protected]>
1 parent c0dd456 commit 27bd042

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

next.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const nextJSConfig = () => {
2222
let nextConfig = withMDX({
2323
output: 'export',
2424
distDir: 'client/www/next-build',
25+
generateBuildId: async () => {
26+
return 'amplify-docs';
27+
},
2528
env: {
2629
BUILD_ENV: process.env.BUILD_ENV,
2730
ALGOLIA_APP_ID: process.env.ALGOLIA_APP_ID,

0 commit comments

Comments
 (0)