We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354bdc4 commit 03ce5d9Copy full SHA for 03ce5d9
packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts
@@ -76,7 +76,7 @@ async function getStaticAssetRouteCode(
76
resourcePath: string,
77
fileBaseName: string
78
) {
79
- resourcePath &&= path.posix.normalize(resourcePath)
+ resourcePath = path.posix.normalize(resourcePath)
80
81
const cache =
82
fileBaseName === 'favicon'
0 commit comments