diff --git a/errors/google-font-preconnect.md b/errors/google-font-preconnect.md index 1731f22322f0b..b15bc1766ecdc 100644 --- a/errors/google-font-preconnect.md +++ b/errors/google-font-preconnect.md @@ -1,5 +1,7 @@ # Google Font Preconnect +> Next.js automatically adds `` after version `12.0.1`. + > Ensure `preconnect` is used with Google Fonts. ### Why This Error Occurred @@ -20,3 +22,4 @@ Note: a **separate** link with `dns-prefetch` can be used as a fallback for brow - [Preconnect to required origins](https://web.dev/uses-rel-preconnect/) - [Preconnect and dns-prefetch](https://web.dev/preconnect-and-dns-prefetch/#resolve-domain-name-early-with-reldns-prefetch) +- [Next.js Font Optimization](https://nextjs.org/docs/pages/building-your-application/optimizing/fonts) diff --git a/packages/next/src/cli/next-info.ts b/packages/next/src/cli/next-info.ts index 5d20232f1ae0c..6cec344a78d24 100755 --- a/packages/next/src/cli/next-info.ts +++ b/packages/next/src/cli/next-info.ts @@ -52,7 +52,7 @@ const nextInfo: CliCommand = async (argv) => { ` Description Prints relevant details about the current system which can be used to report Next.js bugs - + Usage $ next info @@ -80,6 +80,7 @@ const nextInfo: CliCommand = async (argv) => { eslint-config-next: ${getPackageVersion('eslint-config-next')} react: ${getPackageVersion('react')} react-dom: ${getPackageVersion('react-dom')} + typescript: ${getPackageVersion('typescript')} `) try {