Skip to content

Commit

Permalink
fix: metadata route merging conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 9, 2024
1 parent 186ec6b commit 30d6dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/build/webpack/loaders/next-app-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ async function createAppRouteCode({
const isDynamic = pageExtensions.includes(ext)

resolvedPagePath = `next-metadata-route-loader?${stringify({
page,
filePath: resolvedPagePath,
isDynamic: isDynamic ? '1' : '0',
})}!?${WEBPACK_RESOURCE_QUERIES.metadataRoute}`
Expand Down

0 comments on commit 30d6dfc

Please sign in to comment.