Skip to content

Commit

Permalink
Merge pull request #23042 from storybookjs/fix/cli-rn-skip-ask-for-bu…
Browse files Browse the repository at this point in the history
…ilder

CLI: Skip builder selection for react native
(cherry picked from commit 8b9ffc7)
  • Loading branch information
kasperpeulen authored and github-actions[bot] committed Jun 14, 2023
1 parent 2abf330 commit b657f13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/lib/cli/src/detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b657f13

Please sign in to comment.