File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { pathHasPrefix } from '../shared/lib/router/utils/path-has-prefix'
2424import { ZodParsedType , util as ZodUtil } from 'next/dist/compiled/zod'
2525import type { ZodError , ZodIssue } from 'next/dist/compiled/zod'
2626import { hasNextSupport } from '../telemetry/ci-info'
27+ import { version } from 'next/package.json'
2728
2829export { normalizeConfig } from './config-shared'
2930export type { DomainLocale , NextConfig } from './config-shared'
@@ -252,6 +253,12 @@ function assignDefaults(
252253
253254 const result = { ...defaultConfig , ...config }
254255
256+ if ( result . experimental ?. ppr && ! version . includes ( 'canary' ) ) {
257+ Log . warn (
258+ `The experimental.ppr feature is present in your current version but we recommend using the latest canary version for the best experience.`
259+ )
260+ }
261+
255262 if ( result . output === 'export' ) {
256263 if ( result . i18n ) {
257264 throw new Error (
You can’t perform that action at this time.
0 commit comments