Skip to content

Commit

Permalink
Use Log.warn instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Aug 24, 2021
1 parent 69d9792 commit c83327e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function assignDefaults(userConfig: { [key: string]: any }) {
}

if (i18n.locales.length > 100) {
console.warn(
Log.warn(
`Received ${i18n.locales.length} i18n.locales items which exceeds the recommended max of 100.\nSee more info here: https://nextjs.org/docs/advanced-features/i18n-routing#how-does-this-work-with-static-generation`
)
}
Expand Down

0 comments on commit c83327e

Please sign in to comment.