Skip to content

Commit 04283f9

Browse files
committed
fix: don't pass any output to the custom target
1 parent 97c5e9f commit 04283f9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/react-native-builder-bob/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ async function buildTarget(
589589
await customTarget({
590590
options: targetOptions,
591591
source: path.resolve(root, source),
592-
output: path.resolve(root, output, 'typescript'),
593592
report,
594593
root,
595594
});

packages/react-native-builder-bob/src/targets/custom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { spawn } from '../utils/spawn';
55
import dedent from 'dedent';
66
import del from 'del';
77

8-
type Options = Input & {
8+
type Options = Omit<Input, 'output'> & {
99
options?: {
1010
script?: string;
1111
clean?: string;

0 commit comments

Comments
 (0)