From b657f13c3bacc62faa866c122e706e67208afb1e Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 14 Jun 2023 17:20:46 +0200 Subject: [PATCH] Merge pull request #23042 from storybookjs/fix/cli-rn-skip-ask-for-builder CLI: Skip builder selection for react native (cherry picked from commit 8b9ffc74d8e3b34a337962e049a85898f1abdcf6) --- code/lib/cli/src/detect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/code/lib/cli/src/detect.ts b/code/lib/cli/src/detect.ts index 8f8271ad8e4d..f6306ad45ec1 100644 --- a/code/lib/cli/src/detect.ts +++ b/code/lib/cli/src/detect.ts @@ -131,6 +131,7 @@ export async function detectBuilder(packageManager: JsPackageManager, projectTyp return CoreBuilder.Vite; case ProjectType.REACT_SCRIPTS: case ProjectType.ANGULAR: + case ProjectType.REACT_NATIVE: // technically react native doesn't use webpack, we just want to set something case ProjectType.NEXTJS: return CoreBuilder.Webpack5; default: