From 6669fe01f8dec45b523be934fed1b349afa4a982 Mon Sep 17 00:00:00 2001 From: Sebastian Sebbie Silbermann Date: Sun, 8 Jun 2025 11:29:03 +0200 Subject: [PATCH] [test] Stop opening browser by default in local Dev Overlay Storybook This doesn't properly work with if a different Chrome release channel is used. It's also annoying if you restart it and have a tab already open. We don't open a browser in Next.js for those reasons. Storybook includes a link to the local version in the terminal so you can always click that. --- packages/next/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/package.json b/packages/next/package.json index 35817589955b..af304edf80f8 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -87,7 +87,7 @@ "types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist", "typescript": "tsec --noEmit", "ncc-compiled": "taskr ncc", - "storybook": "storybook dev -p 6006", + "storybook": "BROWSER=none storybook dev -p 6006", "build-storybook": "storybook build", "test-storybook": "test-storybook" },