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
  • Loading branch information
kasperpeulen authored Jun 14, 2023
2 parents a56230c + 22d0517 commit 8b9ffc7
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 8b9ffc7

Please sign in to comment.