From 259301cfb23092cb2d45dd7fcca0e72aaf241da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Thu, 19 Dec 2024 21:04:31 +0300 Subject: [PATCH] fix: don't pass any output to the custom target --- packages/react-native-builder-bob/src/index.ts | 1 - packages/react-native-builder-bob/src/targets/custom.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-native-builder-bob/src/index.ts b/packages/react-native-builder-bob/src/index.ts index 3b4496e1..1f1a26a8 100644 --- a/packages/react-native-builder-bob/src/index.ts +++ b/packages/react-native-builder-bob/src/index.ts @@ -589,7 +589,6 @@ async function buildTarget( await customTarget({ options: targetOptions, source: path.resolve(root, source), - output: path.resolve(root, output, 'typescript'), report, root, }); diff --git a/packages/react-native-builder-bob/src/targets/custom.ts b/packages/react-native-builder-bob/src/targets/custom.ts index f751145a..306636f2 100644 --- a/packages/react-native-builder-bob/src/targets/custom.ts +++ b/packages/react-native-builder-bob/src/targets/custom.ts @@ -5,7 +5,7 @@ import { spawn } from '../utils/spawn'; import dedent from 'dedent'; import del from 'del'; -type Options = Input & { +type Options = Omit & { options?: { script?: string; clean?: string;