Skip to content

Commit

Permalink
Bump prerender-manifest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jan 27, 2021
1 parent 89062cd commit 73a9f24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export type DynamicSsgRoute = {
}

export type PrerenderManifest = {
version: 2
version: 3
routes: { [route: string]: SsgRoute }
dynamicRoutes: { [route: string]: DynamicSsgRoute }
notFoundRoutes: string[]
Expand Down Expand Up @@ -1321,7 +1321,7 @@ export default async function build(
}
})
const prerenderManifest: PrerenderManifest = {
version: 2,
version: 3,
routes: finalPrerenderRoutes,
dynamicRoutes: finalDynamicRoutes,
notFoundRoutes: ssgNotFoundPaths,
Expand All @@ -1340,7 +1340,7 @@ export default async function build(
})
} else {
const prerenderManifest: PrerenderManifest = {
version: 2,
version: 3,
routes: {},
dynamicRoutes: {},
preview: previewProps,
Expand Down

0 comments on commit 73a9f24

Please sign in to comment.