Unverified Commit 1d347ba5 authored by Steven's avatar Steven Committed by GitHub

Fix typo in error message (#27438)

Fixes typo mentioned in https://github.com/vercel/next.js/pull/27346#discussion_r675477904
parent bb779ece
...@@ -428,7 +428,7 @@ ...@@ -428,7 +428,7 @@
"path": "/errors/page-data-collection-timeout.md" "path": "/errors/page-data-collection-timeout.md"
}, },
{ {
"titlle": "sharp-missing-in-production", "title": "sharp-missing-in-production",
"path": "/errors/sharp-missing-in-production.md" "path": "/errors/sharp-missing-in-production.md"
} }
] ]
......
...@@ -367,7 +367,7 @@ export async function imageOptimizer( ...@@ -367,7 +367,7 @@ export async function imageOptimizer(
if (shouldShowSharpWarning) { if (shouldShowSharpWarning) {
console.warn( console.warn(
chalk.yellow.bold('Warning: ') + chalk.yellow.bold('Warning: ') +
`For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for image optimization.\n` + `For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.\n` +
'Read more: https://nextjs.org/docs/messages/sharp-missing-in-production' 'Read more: https://nextjs.org/docs/messages/sharp-missing-in-production'
) )
shouldShowSharpWarning = false shouldShowSharpWarning = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment