@vercel/next 4.15.19 → 4.15.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12657,7 +12657,9 @@ var onPrerenderRoute = (prerenderRouteArgs) => async (routeKey, {
|
|
|
12657
12657
|
});
|
|
12658
12658
|
}
|
|
12659
12659
|
let dataFallbackFsRef = null;
|
|
12660
|
-
if (!isFallback && !isBlocking && (!isNotFound || static404Page) && dataRoute &&
|
|
12660
|
+
if (!isFallback && !isBlocking && (!isNotFound || static404Page) && dataRoute && // When this is an App route, either isAppClientParamParsingEnabled is disabled
|
|
12661
|
+
// or there's a prefetchDataRoute
|
|
12662
|
+
(!isAppPathRoute || !isAppClientParamParsingEnabled || prefetchDataRoute)) {
|
|
12661
12663
|
const basePath = isAppPathRoute && !isOmittedOrNotFound && appDir ? appDir : pagesDir;
|
|
12662
12664
|
dataFallbackFsRef = new import_build_utils.FileFsRef({
|
|
12663
12665
|
fsPath: import_path3.default.join(
|