Skip to content

Update next.mdx#1019

Open
h-labushkina wants to merge 1 commit intogregberge:mainfrom
h-labushkina:patch-1
Open

Update next.mdx#1019
h-labushkina wants to merge 1 commit intogregberge:mainfrom
h-labushkina:patch-1

Conversation

@h-labushkina
Copy link
Copy Markdown

Summary

Updates the Next.js docs to clarify and modernize the SVGR setup across supported Next.js versions. This resolves ambiguity around Webpack vs. Turbopack configuration, documents classic ?url SVG imports, and adds TypeScript typings guidance (module declarations + tsconfig.json include ordering) to prevent missing type errors.

  • Add/clarify Next.js config examples for Webpack and Turbopack (13–15.3+)

Test plan

Docs change only
Verified formatting/renders correctly by previewing the updated page at website/pages/docs/next.mdx in the docs site locally

docs(next): refresh SVGR setup for Next.js (Webpack + Turbopack) and TS types

- Add/clarify Next.js config examples for Webpack and Turbopack (13–15.3 +)
- Fix wording/typos in the TypeScript section
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 2, 2026

@h-labushkina is attempting to deploy a commit to the Greg Berg's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant