Skip to content

Commit 94b0f99

Browse files
committed
[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.
1 parent 69cd8d4 commit 94b0f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",
8888
"typescript": "tsec --noEmit",
8989
"ncc-compiled": "taskr ncc",
90-
"storybook": "storybook dev -p 6006",
90+
"storybook": "BROWSER=none storybook dev -p 6006",
9191
"build-storybook": "storybook build",
9292
"test-storybook": "test-storybook"
9393
},

0 commit comments

Comments
 (0)