diff --git a/src/actions/preview.ts b/src/actions/preview.ts index f11f5bc5..52758811 100644 --- a/src/actions/preview.ts +++ b/src/actions/preview.ts @@ -18,7 +18,7 @@ export const MESSAGE_ID = 'projectId:{projectId}'; export function previewInput() { const qrTarget = getInput('qr-target') || undefined; - if (qrTarget && !['expo-go', 'dev-client'].includes(qrTarget)) { + if (qrTarget && !['expo-go', 'dev-build', 'dev-client'].includes(qrTarget)) { throw new Error(`Invalid QR code target: "${qrTarget}", expected "expo-go" or "dev-build"`); }