Skip to content

Commit dc77feb

Browse files
committed
Remove deprecation warning
1 parent 3a991a6 commit dc77feb

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/next/src/server/config.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,6 @@ function checkDeprecations(
109109
silent: boolean,
110110
dir: string
111111
) {
112-
warnOptionHasBeenDeprecated(
113-
userConfig,
114-
'publicRuntimeConfig',
115-
`Runtime config is deprecated and the \`publicRuntimeConfig\` configuration option will be removed in Next.js 16.`,
116-
silent
117-
)
118-
warnOptionHasBeenDeprecated(
119-
userConfig,
120-
'serverRuntimeConfig',
121-
`Runtime config is deprecated and the \`serverRuntimeConfig\` configuration option will be removed in Next.js 16.`,
122-
silent
123-
)
124-
125112
if (userConfig.experimental?.dynamicIO !== undefined) {
126113
warnOptionHasBeenDeprecated(
127114
userConfig,

0 commit comments

Comments
 (0)