diff --git a/docs/migration/graphiql-5.0.0.md b/docs/migration/graphiql-5.0.0.md index 15b8c7f66c..d4e096997f 100644 --- a/docs/migration/graphiql-5.0.0.md +++ b/docs/migration/graphiql-5.0.0.md @@ -3,7 +3,6 @@ Starting from GraphiQL 5, you need to set up Monaco workers in your project: - For **Vite** projects you must: - 1. Install `vite-plugin-monaco-editor` package: ```sh @@ -40,7 +39,7 @@ Starting from GraphiQL 5, you need to set up Monaco workers in your project: > > See [Vite example](../../examples/graphiql-vite/src/App.jsx). -- For Webpack projects such as **Next.js** you must import: +- For Webpack (and Turbopack) projects such as **Next.js** you must import: ```js import 'graphiql/setup-workers/webpack'; diff --git a/examples/graphiql-nextjs/src/app/page.ts b/examples/graphiql-nextjs/src/app/page.tsx similarity index 100% rename from examples/graphiql-nextjs/src/app/page.ts rename to examples/graphiql-nextjs/src/app/page.tsx