From 2c103e1163e7c8d9935479b0df8a5c0df5e081fb Mon Sep 17 00:00:00 2001 From: Jamie Barton Date: Mon, 27 Oct 2025 16:46:18 +0000 Subject: [PATCH] mention turbopack and fix file extension --- docs/migration/graphiql-5.0.0.md | 3 +-- examples/graphiql-nextjs/src/app/{page.ts => page.tsx} | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename examples/graphiql-nextjs/src/app/{page.ts => page.tsx} (100%) 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