Skip to content

Commit 4838e93

Browse files
committed
Remove deprecation warning
1 parent 245bf6c commit 4838e93

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
@@ -117,19 +117,6 @@ function checkDeprecations(
117117
silent: boolean,
118118
dir: string
119119
) {
120-
warnOptionHasBeenDeprecated(
121-
userConfig,
122-
'publicRuntimeConfig',
123-
`Runtime config is deprecated and the \`publicRuntimeConfig\` configuration option will be removed in Next.js 16.`,
124-
silent
125-
)
126-
warnOptionHasBeenDeprecated(
127-
userConfig,
128-
'serverRuntimeConfig',
129-
`Runtime config is deprecated and the \`serverRuntimeConfig\` configuration option will be removed in Next.js 16.`,
130-
silent
131-
)
132-
133120
if (userConfig.experimental?.dynamicIO !== undefined) {
134121
warnOptionHasBeenDeprecated(
135122
userConfig,

0 commit comments

Comments
 (0)